Skip to content

Commit

Permalink
crypto: clear errors in SignTraits::DeriveBits
Browse files Browse the repository at this point in the history
PR-URL: #37820
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
panva authored and ruyadorno committed Mar 29, 2021
1 parent e17b96b commit 5c0f24c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crypto/crypto_sig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5c0f24c

Please sign in to comment.