Missing "else".
authorUlf Möller <ulf@openssl.org>
Thu, 29 Apr 1999 13:37:45 +0000 (13:37 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 29 Apr 1999 13:37:45 +0000 (13:37 +0000)
crypto/rsa/rsa_oaep_test.c

index 588e7ba..061c99a 100644 (file)
@@ -272,8 +272,7 @@ int main()
            printf("OAEP decryption (encrypted data) failed!\n");
            err=1;
            }
            printf("OAEP decryption (encrypted data) failed!\n");
            err=1;
            }
-  
-       if (memcmp(ctext, ctext_ex, num) == 0)
+       else if (memcmp(ctext, ctext_ex, num) == 0)
            {
            printf("OAEP test vector %d passed!\n", v);
            goto next;
            {
            printf("OAEP test vector %d passed!\n", v);
            goto next;