diff --git a/src/crypto/crypto_sig.cc b/src/crypto/crypto_sig.cc index 24b1a7f4315f76..1988aeb1c05d93 100644 --- a/src/crypto/crypto_sig.cc +++ b/src/crypto/crypto_sig.cc @@ -829,6 +829,7 @@ bool SignTraits::DeriveBits( Environment* env, const SignConfiguration& params, ByteSource* out) { + ClearErrorOnReturn clear_error_on_return; EVPMDPointer context(EVP_MD_CTX_new()); EVP_PKEY_CTX* ctx = nullptr;