Skip to content

Commit 14d229e

Browse files
committed
Trigger failure to confirm tests
1 parent f42a93f commit 14d229e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/crypto_sign/functest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ static int test_sign_detached(void) {
302302
#ifdef PQCLEAN_FALCON_TEST_INTEROP
303303
// test verification with the "-padded" or non "-padded" code as appropriate
304304
if ((returncode =
305-
crypto_sign_verify_interop(sig + 8, siglen, m + 8, MLEN, pk + 8)) != 0) {
305+
crypto_sign_verify_interop(sig + 8, siglen, m + 8, MLEN, pk + 8)) == 0) {
306306
fprintf(stderr, "ERROR Signature did not verify correctly on interop check!\n");
307307
if (returncode > 0) {
308308
fprintf(stderr, "ERROR return code should be < 0 on failure");

0 commit comments

Comments
 (0)