From: Rich Salz Date: Thu, 3 Aug 2017 20:21:01 +0000 (-0400) Subject: Add missing include of cryptlib.h X-Git-Tag: OpenSSL_1_1_1-pre1~888 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5f8dd0f849d3bb87b2224715f8880716f39e9b0a;p=oweals%2Fopenssl.git Add missing include of cryptlib.h Also use "" not <> for all include cryptlib Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/4082) --- diff --git a/crypto/asn1/tasn_utl.c b/crypto/asn1/tasn_utl.c index f79d7d6b44..9fc4cc2642 100644 --- a/crypto/asn1/tasn_utl.c +++ b/crypto/asn1/tasn_utl.c @@ -9,7 +9,7 @@ #include #include -#include +#include "internal/cryptlib.h" #include #include #include diff --git a/crypto/ec/ec_key.c b/crypto/ec/ec_key.c index 3abf467ce0..4098be6f49 100644 --- a/crypto/ec/ec_key.c +++ b/crypto/ec/ec_key.c @@ -8,7 +8,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/cryptlib.h" #include #include "ec_lcl.h" #include diff --git a/crypto/include/internal/cryptlib_int.h b/crypto/include/internal/cryptlib_int.h index 60241d15dc..3dddf08200 100644 --- a/crypto/include/internal/cryptlib_int.h +++ b/crypto/include/internal/cryptlib_int.h @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/cryptlib.h" /* This file is not scanned by mkdef.pl, whereas cryptlib.h is */ diff --git a/crypto/threads_none.c b/crypto/threads_none.c index 1fc2f0fe6c..f7e53593a2 100644 --- a/crypto/threads_none.c +++ b/crypto/threads_none.c @@ -8,7 +8,7 @@ */ #include -#include +#include "internal/cryptlib.h" #if !defined(OPENSSL_THREADS) || defined(CRYPTO_TDEBUG) diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c index f7c792123b..e28a2021b4 100644 --- a/crypto/threads_pthread.c +++ b/crypto/threads_pthread.c @@ -8,7 +8,7 @@ */ #include -#include +#include "internal/cryptlib.h" #if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && !defined(OPENSSL_SYS_WINDOWS) diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index e36eb93ca7..fdccdb76c4 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -15,6 +15,7 @@ #include #include #include +#include "internal/cryptlib.h" #define SSL3_NUM_CIPHERS OSSL_NELEM(ssl3_ciphers) #define SSL3_NUM_SCSVS OSSL_NELEM(ssl3_scsvs)