We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572739f commit 751306dCopy full SHA for 751306d
src/tests.c
@@ -166,7 +166,7 @@ void run_context_tests(int use_prealloc) {
166
sign_prealloc = malloc(secp256k1_context_preallocated_size(SECP256K1_CONTEXT_SIGN));
167
vrfy_prealloc = malloc(secp256k1_context_preallocated_size(SECP256K1_CONTEXT_VERIFY));
168
both_prealloc = malloc(secp256k1_context_preallocated_size(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY));
169
- CHECK(none_prealloc != NULL);
+ CHECK(none_prealloc == NULL);
170
CHECK(sign_prealloc != NULL);
171
CHECK(vrfy_prealloc != NULL);
172
CHECK(both_prealloc != NULL);
0 commit comments