File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
2
+ # 0.18.0 - 2020-08-26
3
+
4
+ * Add feature-gated ` bitcoin_hashes ` dependency and [ ` ThirtyTwoByteHash ` trait] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/206/ )
5
+ * Add feature-gated [ global static context] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/224 )
6
+ * Allow [ all-zero messages] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/207 ) to be constructed
7
+ * Bump rust-secp-sys to 0.2.0
8
+
2
9
# 0.17.2
3
10
- Fix linking in the ` fuzztarget ` feature.
4
11
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " secp256k1"
4
- version = " 0.17.2 "
4
+ version = " 0.18.0 "
5
5
authors = [ " Dawid Ciężarkiewicz <dpc@ucore.info>" ,
6
6
" Andrew Poelstra <apoelstra@wpsoftware.net>" ]
7
7
license = " CC0-1.0"
Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ mod tests {
167
167
use rand:: thread_rng;
168
168
use super :: SharedSecret ;
169
169
use super :: super :: Secp256k1 ;
170
- use Error ;
171
170
172
171
#[ test]
173
172
fn ecdh ( ) {
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl SecretKey {
154
154
& mut self
155
155
) {
156
156
unsafe {
157
- let res = ffi:: secp256k1_ec_privkey_negate (
157
+ let res = ffi:: secp256k1_ec_seckey_negate (
158
158
ffi:: secp256k1_context_no_precomp,
159
159
self . as_mut_c_ptr ( )
160
160
) ;
@@ -174,7 +174,7 @@ impl SecretKey {
174
174
return Err ( Error :: InvalidTweak ) ;
175
175
}
176
176
unsafe {
177
- if ffi:: secp256k1_ec_privkey_tweak_add (
177
+ if ffi:: secp256k1_ec_seckey_tweak_add (
178
178
ffi:: secp256k1_context_no_precomp,
179
179
self . as_mut_c_ptr ( ) ,
180
180
other. as_c_ptr ( ) ,
@@ -199,7 +199,7 @@ impl SecretKey {
199
199
return Err ( Error :: InvalidTweak ) ;
200
200
}
201
201
unsafe {
202
- if ffi:: secp256k1_ec_privkey_tweak_mul (
202
+ if ffi:: secp256k1_ec_seckey_tweak_mul (
203
203
ffi:: secp256k1_context_no_precomp,
204
204
self . as_mut_c_ptr ( ) ,
205
205
other. as_c_ptr ( ) ,
You can’t perform that action at this time.
0 commit comments