[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Feb 15 15:25:13 UTC 2016


The branch master has been updated
       via  c35f5c3d3a557288b6c7dcaa17dbbc5916e3e263 (commit)
      from  77b8ad18408bae1166acbf73fb2acb1f92214ece (commit)


- Log -----------------------------------------------------------------
commit c35f5c3d3a557288b6c7dcaa17dbbc5916e3e263
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Feb 15 16:14:46 2016 +0100

    Correct deprecation of OPENSSL_config
    
    Reported in GH#684
    
    Reviewed-by: Matt Caswell <matt at openssl.org>

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

Summary of changes:
 include/openssl/conf.h | 4 ++--
 util/libeay.num        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/openssl/conf.h b/include/openssl/conf.h
index e2c245c..24e9dee 100644
--- a/include/openssl/conf.h
+++ b/include/openssl/conf.h
@@ -137,9 +137,9 @@ int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
 #endif
 int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out);
 
-#if OPENSSL_API_COMPAT < 0x10100000L
-void OPENSSL_config(const char *config_name);
+DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
 
+#if OPENSSL_API_COMPAT < 0x10100000L
 # define OPENSSL_no_config() \
     OPENSSL_init_crypto(OPENSSL_INIT_NO_LOAD_CONFIG, NULL)
 #endif
diff --git a/util/libeay.num b/util/libeay.num
index 0ca9f7b..4d50324 100755
--- a/util/libeay.num
+++ b/util/libeay.num
@@ -2691,7 +2691,7 @@ ENGINE_set_default_string               3184	1_1_0	EXIST::FUNCTION:ENGINE
 CONF_module_get_usr_data                3185	1_1_0	EXIST::FUNCTION:
 ASN1_add_oid_module                     3186	1_1_0	EXIST::FUNCTION:
 CONF_modules_finish                     3187	1_1_0	EXIST::FUNCTION:
-OPENSSL_config                          3188	1_1_0	EXIST::FUNCTION:
+OPENSSL_config                          3188	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0
 CONF_modules_unload                     3189	1_1_0	EXIST::FUNCTION:
 CONF_imodule_get_value                  3190	1_1_0	EXIST::FUNCTION:
 CONF_module_set_usr_data                3191	1_1_0	EXIST::FUNCTION:


More information about the openssl-commits mailing list