Skip to content

Commit c73ab1b

Browse files
committed
Remove faulty fix for upstream issues
1 parent ed3e533 commit c73ab1b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/internal.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12369,12 +12369,6 @@ int WP11_Mldsa_Verify(unsigned char* sig, word32 sigLen, unsigned char* data,
1236912369
params->ctxSz, params->preHashType, data, dataLen, stat,
1237012370
pub->data.mldsaKey);
1237112371
}
12372-
/* wolfCrypt may return SIG_VERIFY_E instead of stat=0 for invalid
12373-
* signatures. Map to stat=0 so caller returns CKR_SIGNATURE_INVALID. */
12374-
if (ret == SIG_VERIFY_E) {
12375-
*stat = 0;
12376-
ret = 0;
12377-
}
1237812372
}
1237912373

1238012374
XFREE(params->ctx, NULL, DYNAMIC_TYPE_TMP_BUFFER);

0 commit comments

Comments
 (0)