[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

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


The branch OpenSSL_1_0_2-stable has been updated
       via  fdd6d00952f00fe7e658b342a359e556d1526c65 (commit)
      from  2a7059c56f885a3fa0842e886f5178def8e5481d (commit)


- Log -----------------------------------------------------------------
commit fdd6d00952f00fe7e658b342a359e556d1526c65
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 06ac77b..f09c802 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -422,8 +422,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