summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa
diff options
context:
space:
mode:
authorjsing <>2016-12-21 15:49:29 +0000
committerjsing <>2016-12-21 15:49:29 +0000
commitb0083b858b1b84b8b19bc553faa582079dda96ae (patch)
treedc6bf9e697be4171031836e4b004f8c6c396b66c /src/lib/libcrypto/ecdsa
parent2bf82d6a2f5736c3b836867840e3ec84075634ca (diff)
downloadopenbsd-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/ecdsa')
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_locl.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_locl.h b/src/lib/libcrypto/ecdsa/ecs_locl.h
index 24d866ae64..94e8874332 100644
--- a/src/lib/libcrypto/ecdsa/ecs_locl.h
+++ b/src/lib/libcrypto/ecdsa/ecs_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecs_locl.h,v 1.4 2015/02/08 13:35:07 jsing Exp $ */ 1/* $OpenBSD: ecs_locl.h,v 1.5 2016/12/21 15:49:29 jsing Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -61,9 +61,7 @@
61 61
62#include <openssl/ecdsa.h> 62#include <openssl/ecdsa.h>
63 63
64#ifdef __cplusplus 64__BEGIN_HIDDEN_DECLS
65extern "C" {
66#endif
67 65
68typedef struct ecdsa_data_st { 66typedef struct ecdsa_data_st {
69 /* EC_KEY_METH_DATA part */ 67 /* EC_KEY_METH_DATA part */
@@ -83,8 +81,6 @@ typedef struct ecdsa_data_st {
83 */ 81 */
84ECDSA_DATA *ecdsa_check(EC_KEY *eckey); 82ECDSA_DATA *ecdsa_check(EC_KEY *eckey);
85 83
86#ifdef __cplusplus 84__END_HIDDEN_DECLS
87}
88#endif
89 85
90#endif /* HEADER_ECS_LOCL_H */ 86#endif /* HEADER_ECS_LOCL_H */