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 /crypto | |
parent | e0e532823f1568ef72b3ebc108c38c2cfa44e5aa (diff) |
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>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/include/internal/err_int.h | 16 | ||||
-rw-r--r-- | crypto/init.c | 1 |
2 files changed, 17 insertions, 0 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> |