File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -230,10 +230,10 @@ typedef int (*secp256k1_nonce_function)(
230
230
*
231
231
* It is highly recommended to call secp256k1_selftest before using this context.
232
232
*/
233
- SECP256K1_API const secp256k1_context * secp256k1_context_static ;
233
+ SECP256K1_API const secp256k1_context * const secp256k1_context_static ;
234
234
235
235
/** Deprecated alias for secp256k1_context_static. */
236
- SECP256K1_API const secp256k1_context * secp256k1_context_no_precomp
236
+ SECP256K1_API const secp256k1_context * const secp256k1_context_no_precomp
237
237
SECP256K1_DEPRECATED ("Use secp256k1_context_static instead" );
238
238
239
239
/** Perform basic self tests (to be used in conjunction with secp256k1_context_static)
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ static const secp256k1_context secp256k1_context_static_ = {
71
71
{ secp256k1_default_error_callback_fn , 0 },
72
72
0
73
73
};
74
- const secp256k1_context * secp256k1_context_static = & secp256k1_context_static_ ;
75
- const secp256k1_context * secp256k1_context_no_precomp = & secp256k1_context_static_ ;
74
+ const secp256k1_context * const secp256k1_context_static = & secp256k1_context_static_ ;
75
+ const secp256k1_context * const secp256k1_context_no_precomp = & secp256k1_context_static_ ;
76
76
77
77
/* Helper function that determines if a context is proper, i.e., is not the static context or a copy thereof.
78
78
*
You can’t perform that action at this time.
0 commit comments