[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Tue Feb 9 21:41:38 UTC 2016


The branch master has been updated
       via  dfbfd0677186173abd3a336899e3ed36913c9c1a (commit)
      from  6407ef7c490e42c31dc2b6e86daf1b51e2d747de (commit)


- Log -----------------------------------------------------------------
commit dfbfd0677186173abd3a336899e3ed36913c9c1a
Author: Rich Salz <rsalz at akamai.com>
Date:   Tue Feb 9 16:01:25 2016 -0500

    Portability fix
    
    Reviewed-by: Matt Caswell <matt at openssl.org>

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

Summary of changes:
 crypto/conf/conf_sap.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c
index ff19167..e0d6c5a 100644
--- a/crypto/conf/conf_sap.c
+++ b/crypto/conf/conf_sap.c
@@ -77,10 +77,12 @@ static int openssl_configured = 0;
 
 void OPENSSL_config(const char *config_name)
 {
-    const OPENSSL_INIT_SETTINGS settings[2] = {
-        { OPENSSL_INIT_SET_CONF_FILENAME, .value.type_string = config_name },
-        { OPENSSL_INIT_SET_END, .value.type_int = 0 }
-    };
+    OPENSSL_INIT_SETTINGS settings[2];
+
+    settings[0].name = OPENSSL_INIT_SET_CONF_FILENAME;
+    settings[0].value.type_string = config_name;
+    settings[1].name = OPENSSL_INIT_SET_END;
+    settings[1].value.type_int = 0;
     OPENSSL_INIT_crypto_library_start(OPENSSL_INIT_LOAD_CONFIG, settings);
 }
 


More information about the openssl-commits mailing list