Skip to content

Commit c0937e3

Browse files
committed
fix: release test
1 parent 50df818 commit c0937e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ecdsa/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ impl<C: Signing> Secp256k1<C> {
299299
let mut entropy_p: *const ffi::types::c_void = ptr::null();
300300
let mut counter: u32 = 0;
301301
let mut extra_entropy = [0u8; 32];
302-
let msg_c_ptr = msg.into().as_c_ptr();
302+
let msg = msg.into();
303303
loop {
304304
unsafe {
305305
let mut ret = ffi::Signature::new();
@@ -309,7 +309,7 @@ impl<C: Signing> Secp256k1<C> {
309309
ffi::secp256k1_ecdsa_sign(
310310
self.ctx.as_ptr(),
311311
&mut ret,
312-
msg_c_ptr,
312+
msg.as_c_ptr(),
313313
sk.as_c_ptr(),
314314
ffi::secp256k1_nonce_function_rfc6979,
315315
entropy_p

0 commit comments

Comments
 (0)