Skip to content

Commit 51bc0b1

Browse files
authored
Fix link_name for secp256k1_ec_seckey_negate
1 parent 91eea11 commit 51bc0b1

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
@@ -376,7 +376,7 @@ extern "C" {
376376
pub fn secp256k1_ec_privkey_negate(cx: *const Context,
377377
sk: *mut c_uchar) -> c_int;
378378

379-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_3_1_ec_privkey_negate")]
379+
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_3_1_ec_seckey_negate")]
380380
pub fn secp256k1_ec_seckey_negate(cx: *const Context,
381381
sk: *mut c_uchar) -> c_int;
382382

0 commit comments

Comments
 (0)