James Hawkins : crypt32: Split the test for ret and last error up.