Add missing null check for ctx and input keys in the public API

This commit is contained in:
Elichai Turkel
2020-07-30 12:26:28 +03:00
parent f4edfc7581
commit adec5a1638
4 changed files with 7 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ SECP256K1_API secp256k1_context* secp256k1_context_preallocated_clone(
*/
SECP256K1_API void secp256k1_context_preallocated_destroy(
secp256k1_context* ctx
);
) SECP256K1_ARG_NONNULL(1);
#ifdef __cplusplus
}