summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r--src/lib/libcrypto/err/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/err/err.c2
-rw-r--r--src/lib/libcrypto/err/err_all.c4
-rw-r--r--src/lib/libcrypto/err/err_prn.c1
4 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/err/Makefile.ssl b/src/lib/libcrypto/err/Makefile.ssl
index f0c95e2ef2..b253061d07 100644
--- a/src/lib/libcrypto/err/Makefile.ssl
+++ b/src/lib/libcrypto/err/Makefile.ssl
@@ -68,7 +68,7 @@ lint:
68 lint -DLINT $(INCLUDES) $(SRC)>fluff 68 lint -DLINT $(INCLUDES) $(SRC)>fluff
69 69
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
74 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 74 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c
index 9b532d1f4c..a4f4a260af 100644
--- a/src/lib/libcrypto/err/err.c
+++ b/src/lib/libcrypto/err/err.c
@@ -211,6 +211,7 @@ static ERR_STRING_DATA ERR_str_reasons[]=
211 211
212{0,NULL}, 212{0,NULL},
213 }; 213 };
214#endif
214 215
215 216
216/* Define the predeclared (but externally opaque) "ERR_FNS" type */ 217/* Define the predeclared (but externally opaque) "ERR_FNS" type */
@@ -491,6 +492,7 @@ static int int_err_get_next_lib(void)
491 } 492 }
492 493
493 494
495#ifndef OPENSSL_NO_ERR
494#define NUM_SYS_STR_REASONS 127 496#define NUM_SYS_STR_REASONS 127
495#define LEN_SYS_STR_REASON 32 497#define LEN_SYS_STR_REASON 32
496 498
diff --git a/src/lib/libcrypto/err/err_all.c b/src/lib/libcrypto/err/err_all.c
index 90029fd159..dc505d9d9d 100644
--- a/src/lib/libcrypto/err/err_all.c
+++ b/src/lib/libcrypto/err/err_all.c
@@ -82,7 +82,9 @@
82#include <openssl/pkcs12.h> 82#include <openssl/pkcs12.h>
83#include <openssl/rand.h> 83#include <openssl/rand.h>
84#include <openssl/dso.h> 84#include <openssl/dso.h>
85#ifndef OPENSSL_NO_ENGINE
85#include <openssl/engine.h> 86#include <openssl/engine.h>
87#endif
86#include <openssl/ocsp.h> 88#include <openssl/ocsp.h>
87#include <openssl/err.h> 89#include <openssl/err.h>
88 90
@@ -122,7 +124,9 @@ void ERR_load_crypto_strings(void)
122 ERR_load_PKCS12_strings(); 124 ERR_load_PKCS12_strings();
123 ERR_load_RAND_strings(); 125 ERR_load_RAND_strings();
124 ERR_load_DSO_strings(); 126 ERR_load_DSO_strings();
127#ifndef OPENSSL_NO_ENGINE
125 ERR_load_ENGINE_strings(); 128 ERR_load_ENGINE_strings();
129#endif
126 ERR_load_OCSP_strings(); 130 ERR_load_OCSP_strings();
127 ERR_load_UI_strings(); 131 ERR_load_UI_strings();
128#endif 132#endif
diff --git a/src/lib/libcrypto/err/err_prn.c b/src/lib/libcrypto/err/err_prn.c
index c156663f0e..81e34bd6ce 100644
--- a/src/lib/libcrypto/err/err_prn.c
+++ b/src/lib/libcrypto/err/err_prn.c
@@ -62,7 +62,6 @@
62#include "cryptlib.h" 62#include "cryptlib.h"
63#include <openssl/buffer.h> 63#include <openssl/buffer.h>
64#include <openssl/err.h> 64#include <openssl/err.h>
65#include <openssl/crypto.h>
66 65
67void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), 66void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u),
68 void *u) 67 void *u)