summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-14 13:37:41 +0100
committerMatt Caswell <matt@openssl.org>2016-04-14 13:50:36 +0100
commitc3a64b52788df139d649efaaf993c27dc89ba6ce (patch)
tree08d6e6f9d210b291a3334e691d0afc899ae7fd3a
parentcd1a88b3279a633f16c1a177574a83123c89c8b8 (diff)
The err_cleanup() funtion is internal so shouldn't be exported
Running a "make update" wanted to add err_cleanup to libcrypto.num which is wrong. Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r--crypto/err/err.c2
-rw-r--r--crypto/include/internal/err_int.h1
-rw-r--r--include/internal/err.h1
3 files changed, 2 insertions, 2 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index aff3ae5a24..b0fd19e7ae 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -114,11 +114,11 @@
#include <internal/cryptlib_int.h>
#include <internal/threads.h>
#include <internal/err.h>
+#include <internal/err_int.h>
#include <openssl/lhash.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/bio.h>
-#include "internal/err.h"
#include <openssl/opensslconf.h>
static void err_load_strings(int lib, ERR_STRING_DATA *str);
diff --git a/crypto/include/internal/err_int.h b/crypto/include/internal/err_int.h
index ad3f7ce49b..7f1037e939 100644
--- a/crypto/include/internal/err_int.h
+++ b/crypto/include/internal/err_int.h
@@ -12,5 +12,6 @@
# define INTERNAL_ERR_INT_H
void err_load_crypto_strings_int(void);
+void err_cleanup(void);
#endif
diff --git a/include/internal/err.h b/include/internal/err.h
index 415f578f09..de2180b34b 100644
--- a/include/internal/err.h
+++ b/include/internal/err.h
@@ -59,6 +59,5 @@
# define INTERNAL_ERR_H
void err_free_strings_int(void);
-void err_cleanup(void);
#endif