Add a new ERR function, "ERR_unload_strings", to complement the existing
[openssl.git] / crypto / err / err_all.c
index 7815378ccbfbc96b79a0614f680ba5e319cda4e6..90029fd159faeac2000c90419323ba08ceb4c4a2 100644 (file)
@@ -59,6 +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
@@ -91,7 +94,7 @@ void ERR_load_crypto_strings(void)
        done=1;
 #ifndef OPENSSL_NO_ERR
        ERR_load_ERR_strings(); /* include error strings for SYSerr */
-       ERR_load_BN_strings()
+       ERR_load_BN_strings();
 #ifndef OPENSSL_NO_RSA
        ERR_load_RSA_strings();
 #endif
@@ -109,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();       
@@ -119,5 +124,6 @@ void ERR_load_crypto_strings(void)
        ERR_load_DSO_strings();
        ERR_load_ENGINE_strings();
        ERR_load_OCSP_strings();
+       ERR_load_UI_strings();
 #endif
        }