-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] #4155: ensure the secp256k1 signatures coming out of OpenSSL ar…
…e normalized This is an interoperability problem between OpenSSL and newer cryptographic libraries, see [https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki#user-content-Low_S_values_in_signatures)[BIP-0062] for details This fixes the flaky secp256k1_sign test Also includes a drive-by cleanup of useless `assert(result.is_ok())` Signed-off-by: Nikita Strygin <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters