Skip to content

Commit 2a3a97c

Browse files
Merge #976: secp256k1_schnorrsig_sign_internal should be static
7271387 Add missing static to secp256k1_schnorrsig_sign_internal (Elichai Turkel) Pull request description: This function isn't used outside of this module so it should be declared static ACKs for top commit: real-or-random: ACK 7271387 jonasnick: ACK 7271387 Tree-SHA512: 6107a2c84c3e11ffd68de22a5288d989a3c71c2ec1ee4827c88f6165fc27ef8339d0f6740928540e8ccd03aff49a2a96149bf698ccebe6d6d8ad6e23e38e8838
2 parents aa5d34a + 7271387 commit 2a3a97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/schnorrsig/main_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ static void secp256k1_schnorrsig_challenge(secp256k1_scalar* e, const unsigned c
122122
secp256k1_scalar_set_b32(e, buf, NULL);
123123
}
124124

125-
int secp256k1_schnorrsig_sign_internal(const secp256k1_context* ctx, unsigned char *sig64, const unsigned char *msg, size_t msglen, const secp256k1_keypair *keypair, secp256k1_nonce_function_hardened noncefp, void *ndata) {
125+
static int secp256k1_schnorrsig_sign_internal(const secp256k1_context* ctx, unsigned char *sig64, const unsigned char *msg, size_t msglen, const secp256k1_keypair *keypair, secp256k1_nonce_function_hardened noncefp, void *ndata) {
126126
secp256k1_scalar sk;
127127
secp256k1_scalar e;
128128
secp256k1_scalar k;

0 commit comments

Comments
 (0)