Decrypt test vector data even if previous decryption failed to get
authorUlf Möller <ulf@openssl.org>
Wed, 28 Apr 1999 22:16:54 +0000 (22:16 +0000)
committerUlf Möller <ulf@openssl.org>
Wed, 28 Apr 1999 22:16:54 +0000 (22:16 +0000)
better diagnostics.

crypto/rsa/rsa_oaep_test.c

index 4dd078ddbeb7b56e602d27ff33cf8179060dc846..588e7bac1c696a12eaf9b8f1578f34d4b7a71749 100644 (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)