diff options
author | jsing <> | 2016-12-21 15:49:29 +0000 |
---|---|---|
committer | jsing <> | 2016-12-21 15:49:29 +0000 |
commit | b0083b858b1b84b8b19bc553faa582079dda96ae (patch) | |
tree | dc6bf9e697be4171031836e4b004f8c6c396b66c /src/lib/libcrypto/engine/eng_int.h | |
parent | 2bf82d6a2f5736c3b836867840e3ec84075634ca (diff) | |
download | openbsd-b0083b858b1b84b8b19bc553faa582079dda96ae.tar.gz openbsd-b0083b858b1b84b8b19bc553faa582079dda96ae.tar.bz2 openbsd-b0083b858b1b84b8b19bc553faa582079dda96ae.zip |
Explicitly export a list of symbols from libcrypto.
Move the "internal" BN functions from bn.h to bn_lcl.h and stop exporting
the bn_* symbols. These are documented as only being intended for internal
use, so why they were placed in a public header is beyond me...
This hides 363 previously exported symbols, most of which exist in headers
that are not installed and were never intended to be public. This also
removes a few crusty old things that should have died long ago (like
_ossl_old_des_read_pw). But don't worry... there are still 3451 symbols
exported from the library.
With input and testing from inoguchi@.
ok beck@ inoguchi@
Diffstat (limited to 'src/lib/libcrypto/engine/eng_int.h')
-rw-r--r-- | src/lib/libcrypto/engine/eng_int.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libcrypto/engine/eng_int.h b/src/lib/libcrypto/engine/eng_int.h index f240411981..dbb639949d 100644 --- a/src/lib/libcrypto/engine/eng_int.h +++ b/src/lib/libcrypto/engine/eng_int.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: eng_int.h,v 1.8 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: eng_int.h,v 1.9 2016/12/21 15:49:29 jsing Exp $ */ |
2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -67,9 +67,7 @@ | |||
67 | /* Take public definitions from engine.h */ | 67 | /* Take public definitions from engine.h */ |
68 | #include <openssl/engine.h> | 68 | #include <openssl/engine.h> |
69 | 69 | ||
70 | #ifdef __cplusplus | 70 | __BEGIN_HIDDEN_DECLS |
71 | extern "C" { | ||
72 | #endif | ||
73 | 71 | ||
74 | /* If we compile with this symbol defined, then both reference counts in the | 72 | /* If we compile with this symbol defined, then both reference counts in the |
75 | * ENGINE structure will be monitored with a line of output on stderr for each | 73 | * ENGINE structure will be monitored with a line of output on stderr for each |
@@ -199,8 +197,6 @@ struct engine_st { | |||
199 | struct engine_st *next; | 197 | struct engine_st *next; |
200 | }; | 198 | }; |
201 | 199 | ||
202 | #ifdef __cplusplus | 200 | __END_HIDDEN_DECLS |
203 | } | ||
204 | #endif | ||
205 | 201 | ||
206 | #endif /* HEADER_ENGINE_INT_H */ | 202 | #endif /* HEADER_ENGINE_INT_H */ |