From b0083b858b1b84b8b19bc553faa582079dda96ae Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 21 Dec 2016 15:49:29 +0000 Subject: 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@ --- src/lib/libcrypto/ripemd/rmdconst.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/ripemd/rmdconst.h') diff --git a/src/lib/libcrypto/ripemd/rmdconst.h b/src/lib/libcrypto/ripemd/rmdconst.h index b36011cc44..f34047f4ff 100644 --- a/src/lib/libcrypto/ripemd/rmdconst.h +++ b/src/lib/libcrypto/ripemd/rmdconst.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rmdconst.h,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: rmdconst.h,v 1.3 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 + #define KL0 0x00000000L #define KL1 0x5A827999L #define KL2 0x6ED9EBA1L @@ -397,3 +400,4 @@ #define WR79 11 #define SR79 11 +__END_HIDDEN_DECLS -- cgit v1.2.3-55-g6feb