summaryrefslogtreecommitdiffstats
path: root/crypto/err/err_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/err/err_all.c')
-rw-r--r--crypto/err/err_all.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c
index 2ca5bef136..b088de65f5 100644
--- a/crypto/err/err_all.c
+++ b/crypto/err/err_all.c
@@ -59,7 +59,9 @@
#include <stdio.h>
#include <openssl/asn1.h>
#include <openssl/bn.h>
+#ifndef OPENSSL_NO_EC
#include <openssl/ec.h>
+#endif
#include <openssl/buffer.h>
#include <openssl/bio.h>
#ifndef OPENSSL_NO_RSA
@@ -110,7 +112,9 @@ void ERR_load_crypto_strings(void)
ERR_load_ASN1_strings();
ERR_load_CONF_strings();
ERR_load_CRYPTO_strings();
+#ifndef OPENSSL_NO_EC
ERR_load_EC_strings();
+#endif
/* skip ERR_load_SSL_strings() because it is not in this library */
ERR_load_BIO_strings();
ERR_load_PKCS7_strings();