[openssl-commits] [openssl] OpenSSL_1_0_1-stable update

Rich Salz rsalz at openssl.org
Thu Jul 9 19:43:40 UTC 2015


The branch OpenSSL_1_0_1-stable has been updated
       via  b5e972fdd3e777c777f45f59bb65f62673412ade (commit)
      from  a15ba3cca394d69dc57b4321902adbe2651bc6f0 (commit)


- Log -----------------------------------------------------------------
commit b5e972fdd3e777c777f45f59bb65f62673412ade
Author: Peter Waltenberg <pwalten at au1.ibm.com>
Date:   Thu Jul 9 14:57:30 2015 -0400

    Exit on error in ecparam
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (cherry picked from commit 99dcd88035330d59ab40b5bc0f551aca7020cd30)

-----------------------------------------------------------------------

Summary of changes:
 apps/ecparam.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/apps/ecparam.c b/apps/ecparam.c
index 1f340a9..88ecbc0 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -419,8 +419,9 @@ int MAIN(int argc, char **argv)
         if (!EC_GROUP_check(group, NULL)) {
             BIO_printf(bio_err, "failed\n");
             ERR_print_errors(bio_err);
-        } else
-            BIO_printf(bio_err, "ok\n");
+            goto end;
+        }
+        BIO_printf(bio_err, "ok\n");
 
     }
 


More information about the openssl-commits mailing list