Skip to content

Commit

Permalink
Update common/crypto/sig_private_key.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Vavala <[email protected]>
Signed-off-by: Mic Bowman <[email protected]>
  • Loading branch information
cmickeyb and bvavala committed Jan 8, 2024
1 parent 485ad23 commit 8466d3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/crypto/sig_private_key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ ByteArray pcrypto::sig::PrivateKey::SignMessage(const ByteArray& message) const
Error::ThrowIf<Error::MemoryError>(
s == nullptr, "Crypto Error (SignMessage): Could not dup BIGNUM for s");

// r = BN_dup(rc);
pdo::crypto::BIGNUM_ptr r(BN_dup(rc), BN_free);
Error::ThrowIf<Error::MemoryError>(
r == nullptr, "Crypto Error (SignMessage): Could not dup BIGNUM for r");
Expand Down

0 comments on commit 8466d3a

Please sign in to comment.