Make static context const
This commit is contained in:
@@ -71,8 +71,8 @@ static const secp256k1_context secp256k1_context_static_ = {
|
||||
{ secp256k1_default_error_callback_fn, 0 },
|
||||
0
|
||||
};
|
||||
const secp256k1_context *secp256k1_context_static = &secp256k1_context_static_;
|
||||
const secp256k1_context *secp256k1_context_no_precomp = &secp256k1_context_static_;
|
||||
const secp256k1_context * const secp256k1_context_static = &secp256k1_context_static_;
|
||||
const secp256k1_context * const secp256k1_context_no_precomp = &secp256k1_context_static_;
|
||||
|
||||
/* Helper function that determines if a context is proper, i.e., is not the static context or a copy thereof.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user