Quick fix.
authorGeoff Thorpe <geoff@openssl.org>
Fri, 16 Jul 2004 03:24:51 +0000 (03:24 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 16 Jul 2004 03:24:51 +0000 (03:24 +0000)
Submitted by: Nils Larsch

crypto/ecdsa/ecdsatest.c

index 401b23c6947a0bc5eec4201e4e1a4250b8a4e48d..44321c5ac6ca9c43d306935c026b4c34043035d7 100644 (file)
@@ -483,7 +483,7 @@ err:
                BIO_printf(out, "\nECDSA test failed\n");
        else 
                BIO_printf(out, "\nECDSA test passed\n");
-       if (!ret)
+       if (ret)
                ERR_print_errors(out);
        CRYPTO_cleanup_all_ex_data();
        ERR_remove_state(0);