diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-13 13:53:27 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-13 15:23:47 +0200 |
commit | 13524b112ec4d701264884c1c19aa170df41079d (patch) | |
tree | 4746335c8fbc5ca9f8eee320e003594d63dd78ee | |
parent | PPC assebmly pack: initial POWER9 support tidbits. (diff) | |
download | openssl-13524b112ec4d701264884c1c19aa170df41079d.tar.xz openssl-13524b112ec4d701264884c1c19aa170df41079d.zip |
Move a declaration that's private to libcrypto
Don't expose purely libcrypto internal symbols, even to libssl.
Reviewed-by: Matt Caswell <matt@openssl.org>
-rw-r--r-- | crypto/include/internal/err_int.h | 16 | ||||
-rw-r--r-- | crypto/init.c | 1 | ||||
-rw-r--r-- | include/internal/err.h | 1 |
3 files changed, 17 insertions, 1 deletions
diff --git a/crypto/include/internal/err_int.h b/crypto/include/internal/err_int.h new file mode 100644 index 0000000000..ad3f7ce49b --- /dev/null +++ b/crypto/include/internal/err_int.h @@ -0,0 +1,16 @@ +/* + * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL licenses, (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.openssl.org/source/license.html + * or in the file LICENSE in the source distribution. + */ + +#ifndef INTERNAL_ERR_INT_H +# define INTERNAL_ERR_INT_H + +void err_load_crypto_strings_int(void); + +#endif diff --git a/crypto/init.c b/crypto/init.c index d9f40001a2..21dc36d35e 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -67,6 +67,7 @@ #include <internal/engine.h> #include <internal/comp.h> #include <internal/err.h> +#include <internal/err_int.h> #include <internal/objects.h> #include <stdlib.h> #include <assert.h> diff --git a/include/internal/err.h b/include/internal/err.h index f9aa2b2120..de2180b34b 100644 --- a/include/internal/err.h +++ b/include/internal/err.h @@ -58,7 +58,6 @@ #ifndef INTERNAL_ERR_H # define INTERNAL_ERR_H -void err_load_crypto_strings_int(void); void err_free_strings_int(void); #endif |