Skip to content

Commit eedbd0b

Browse files
committed
secp256k1-sys: Remove deprecated code
We are currently on release 0.6.1, code deprecated since v0.2.0 can comfortably be removed.
1 parent 497654e commit eedbd0b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

secp256k1-sys/src/lib.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -346,35 +346,15 @@ extern "C" {
346346
pub fn secp256k1_ec_seckey_verify(cx: *const Context,
347347
sk: *const c_uchar) -> c_int;
348348

349-
#[deprecated(since = "0.2.0",note = "Please use the secp256k1_ec_seckey_tweak_add function instead")]
350-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_6_1_ec_privkey_negate")]
351-
pub fn secp256k1_ec_privkey_negate(cx: *const Context,
352-
sk: *mut c_uchar) -> c_int;
353-
354349
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_6_1_ec_seckey_negate")]
355350
pub fn secp256k1_ec_seckey_negate(cx: *const Context,
356351
sk: *mut c_uchar) -> c_int;
357352

358-
#[deprecated(since = "0.2.0",note = "Please use the secp256k1_ec_seckey_tweak_add function instead")]
359-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_6_1_ec_privkey_tweak_add")]
360-
pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context,
361-
sk: *mut c_uchar,
362-
tweak: *const c_uchar)
363-
-> c_int;
364-
365353
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_6_1_ec_seckey_tweak_add")]
366354
pub fn secp256k1_ec_seckey_tweak_add(cx: *const Context,
367355
sk: *mut c_uchar,
368356
tweak: *const c_uchar)
369357
-> c_int;
370-
371-
#[deprecated(since = "0.2.0",note = "Please use the secp256k1_ec_seckey_tweak_mul function instead")]
372-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_6_1_ec_privkey_tweak_mul")]
373-
pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context,
374-
sk: *mut c_uchar,
375-
tweak: *const c_uchar)
376-
-> c_int;
377-
378358
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_6_1_ec_seckey_tweak_mul")]
379359
pub fn secp256k1_ec_seckey_tweak_mul(cx: *const Context,
380360
sk: *mut c_uchar,

0 commit comments

Comments
 (0)