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/cast | |
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/cast')
-rw-r--r-- | lib/libcrypto/cast/cast_s.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libcrypto/cast/cast_s.h b/lib/libcrypto/cast/cast_s.h index 7d4e220e322..472128bb402 100644 --- a/lib/libcrypto/cast/cast_s.h +++ b/lib/libcrypto/cast/cast_s.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cast_s.h,v 1.5 2014/06/12 15:49:28 deraadt Exp $ */ +/* $OpenBSD: cast_s.h,v 1.6 2016/12/21 15:49:29 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -55,6 +55,9 @@ * copied and put under another distribution licence * [including the GNU Public Licence.] */ + +__BEGIN_HIDDEN_DECLS + const CAST_LONG CAST_S_table0[256]={ 0x30fb40d4,0x9fa0ff0b,0x6beccd2f,0x3f258c7a, 0x1e213f2f,0x9c004dd3,0x6003e540,0xcf9fc949, @@ -583,3 +586,5 @@ const CAST_LONG CAST_S_table7[256]={ 0x04f19130,0xba6e4ec0,0x99265164,0x1ee7230d, 0x50b2ad80,0xeaee6801,0x8db2a283,0xea8bf59e, }; + +__END_HIDDEN_DECLS |