[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

Dr. Paul Dale pauli at openssl.org
Wed Jan 30 23:40:01 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  db6c6c3df296558d00fd21ae1a29a7523d884b55 (commit)
      from  fea9f34a2e9c018430385c9073161b4daa484843 (commit)


- Log -----------------------------------------------------------------
commit db6c6c3df296558d00fd21ae1a29a7523d884b55
Author: Petr Vorel <petr.vorel at gmail.com>
Date:   Wed Jan 30 19:21:42 2019 +0100

    Reuse already defined macros
    
    instead of duplicity the code.
    
    CLA: trivial
    
    Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/8127)
    
    (cherry picked from commit c4734493d7da404b1747195a805c8d536dbe6910)

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

Summary of changes:
 include/openssl/evp.h | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index cfc33f6..e241672 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -945,14 +945,9 @@ const EVP_CIPHER *EVP_sm4_ctr(void);
                         | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
 
 #  ifdef OPENSSL_LOAD_CONF
-#   define OpenSSL_add_all_algorithms() \
-    OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-                        | OPENSSL_INIT_ADD_ALL_DIGESTS \
-                        | OPENSSL_INIT_LOAD_CONFIG, NULL)
+#   define OpenSSL_add_all_algorithms() OPENSSL_add_all_algorithms_conf()
 #  else
-#   define OpenSSL_add_all_algorithms() \
-    OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-                        | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
+#   define OpenSSL_add_all_algorithms() OPENSSL_add_all_algorithms_noconf()
 #  endif
 
 #  define OpenSSL_add_all_ciphers() \


More information about the openssl-commits mailing list