Decrypt test vector data even if previous decryption failed to get
better diagnostics.
This commit is contained in:
parent
d10c5c2209
commit
e9b9fa1846
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue