Skip to content

Commit a9049f8

Browse files
authored
Merge pull request #266 from junderw/patch-1
Fix link_name for secp256k1_ec_seckey_negate
2 parents 867b920 + 51bc0b1 commit a9049f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secp256k1-sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ extern "C" {
347347
pub fn secp256k1_ec_privkey_negate(cx: *const Context,
348348
sk: *mut c_uchar) -> c_int;
349349

350-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_3_1_ec_privkey_negate")]
350+
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_3_1_ec_seckey_negate")]
351351
pub fn secp256k1_ec_seckey_negate(cx: *const Context,
352352
sk: *mut c_uchar) -> c_int;
353353

0 commit comments

Comments
 (0)