aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-06-25 09:58:13 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-08-18 18:03:56 +0000
commitb667a90389cce7e1bf882f4ac78323c48858efaa (patch)
tree6dfd7fc44223ecdb76e5d80e4f9e378ca97b7a4e /src/pubkey.cpp
parenta2a250c7d07bcb80cefca9dd4a7ce57f41291334 (diff)
downloadbitcoin-b667a90389cce7e1bf882f4ac78323c48858efaa.tar.xz
tests: Add fuzzing harness for SigHasLowR(...) and ecdsa_signature_parse_der_lax(...)
Diffstat (limited to 'src/pubkey.cpp')
-rw-r--r--src/pubkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp
index ef42aa5bc7..fc14f41a0c 100644
--- a/src/pubkey.cpp
+++ b/src/pubkey.cpp
@@ -24,7 +24,7 @@ secp256k1_context* secp256k1_context_verify = nullptr;
* strict DER before being passed to this module, and we know it supports all
* violations present in the blockchain before that point.
*/
-static int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_signature* sig, const unsigned char *input, size_t inputlen) {
+int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_signature* sig, const unsigned char *input, size_t inputlen) {
size_t rpos, rlen, spos, slen;
size_t pos = 0;
size_t lenbyte;