private static void CheckBoolReturn(int returnValue) { if (returnValue == 1) { return; } throw Interop.Crypto.CreateOpenSslCryptographicException(); }