diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2016-12-21 15:49:30 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2016-12-21 15:49:30 +0000 |
commit | 6980e63b096ec3551366624376a0294e25f896e3 (patch) | |
tree | 0dac1094ae0e5f50606097ed0cd0c71ef01c8602 /lib/libcrypto/x509/vpm_int.h | |
parent | 17ba22c60dee8a92bb54e6cec513694193aad1eb (diff) |
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 'lib/libcrypto/x509/vpm_int.h')
-rw-r--r-- | lib/libcrypto/x509/vpm_int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/vpm_int.h b/lib/libcrypto/x509/vpm_int.h index 3bd357bddd9..6c8061c8472 100644 --- a/lib/libcrypto/x509/vpm_int.h +++ b/lib/libcrypto/x509/vpm_int.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vpm_int.h,v 1.2 2016/11/05 20:14:59 beck Exp $ */ +/* $OpenBSD: vpm_int.h,v 1.3 2016/12/21 15:49:29 jsing Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2013. @@ -57,6 +57,8 @@ * */ +__BEGIN_HIDDEN_DECLS + /* internal only structure to hold additional X509_VERIFY_PARAM data */ struct X509_VERIFY_PARAM_ID_st { @@ -68,3 +70,5 @@ struct X509_VERIFY_PARAM_ID_st { unsigned char *ip; /* If not NULL IP address to match */ size_t iplen; /* Length of IP address */ }; + +__END_HIDDEN_DECLS |