Juan Lang : crypt32: Use consistent error checking.