From: Richard Levitte Date: Wed, 13 Apr 2016 11:53:27 +0000 (+0200) Subject: Move a declaration that's private to libcrypto X-Git-Tag: OpenSSL_1_1_0-pre5~46 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=13524b112ec4d701264884c1c19aa170df41079d Move a declaration that's private to libcrypto Don't expose purely libcrypto internal symbols, even to libssl. Reviewed-by: Matt Caswell --- 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 #include #include +#include #include #include #include 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