Use rust-secp256k1 PR 282 and bitcoin_hashes PR 111 in fuzzing
authorMatt Corallo <git@bluematt.me>
Fri, 19 Feb 2021 01:35:54 +0000 (20:35 -0500)
committerMatt Corallo <git@bluematt.me>
Sat, 27 Feb 2021 04:47:03 +0000 (23:47 -0500)
fuzz/Cargo.toml

index 99ed288f185be2c6f3942b08ae6d87280eb690f2..0ac1b5ce03bcd4cb5edcea09152f052be263fdbb 100644 (file)
@@ -24,6 +24,12 @@ hex = "0.3"
 honggfuzz = { version = "0.5", optional = true }
 libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git", optional = true }
 
+[patch.crates-io]
+# Rust-Secp256k1 PR 282. This patch should be dropped once that is merged.
+secp256k1 = { git = 'https://github.com/TheBlueMatt/rust-secp256k1', rev = '32767e0e21e8861701ff7d5957613169d67ff1f8' }
+# bitcoin_hashes PR 111 (without the top commit). This patch should be dropped once that is merged.
+bitcoin_hashes = { git = 'https://github.com/TheBlueMatt/bitcoin_hashes', rev = 'c90d26339a3e34fd2f942aa80298f410cc41b743' }
+
 [build-dependencies]
 cc = "1.0"