Decrypt test vector data even if previous decryption failed to get

better diagnostics.
This commit is contained in:
Ulf Möller 1999-04-28 22:16:54 +00:00
parent d10c5c2209
commit e9b9fa1846

View file

@ -269,9 +269,8 @@ int main()
RSA_PKCS1_OAEP_PADDING);
if (num != plen || memcmp(ptext, ptext_ex, num) != 0)
{
printf("OAEP decryption failed!\n");
printf("OAEP decryption (encrypted data) failed!\n");
err=1;
goto next;
}
if (memcmp(ctext, ctext_ex, num) == 0)