From 18adabd97858ed28289c9dc31e8042c515840be4 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/objects/obj_xref.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/objects') diff --git a/src/lib/libcrypto/objects/obj_xref.h b/src/lib/libcrypto/objects/obj_xref.h index 4499456694..59c597ce41 100644 --- a/src/lib/libcrypto/objects/obj_xref.h +++ b/src/lib/libcrypto/objects/obj_xref.h @@ -1,6 +1,8 @@ -/* $OpenBSD: obj_xref.h,v 1.3 2014/11/09 19:17:13 miod Exp $ */ +/* $OpenBSD: obj_xref.h,v 1.4 2016/12/21 15:49:29 jsing Exp $ */ /* AUTOGENERATED BY objxref.pl, DO NOT EDIT */ +__BEGIN_HIDDEN_DECLS + typedef struct { int sign_id; @@ -80,3 +82,4 @@ static const nid_triple * const sigoid_srt_xref[] = &sigoid_srt[31], }; +__END_HIDDEN_DECLS -- cgit v1.2.3-55-g6feb