Skip to content

Commit 50fc6b9

Browse files
panvaruyadorno
authored andcommitted
crypto: clear errors in SignTraits::DeriveBits
PR-URL: #37820 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 3925458 commit 50fc6b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crypto/crypto_sig.cc

+1
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,7 @@ bool SignTraits::DeriveBits(
829829
Environment* env,
830830
const SignConfiguration& params,
831831
ByteSource* out) {
832+
ClearErrorOnReturn clear_error_on_return;
832833
EVPMDPointer context(EVP_MD_CTX_new());
833834
EVP_PKEY_CTX* ctx = nullptr;
834835

0 commit comments

Comments
 (0)