diff options
author | beck <> | 2023-07-07 13:54:46 +0000 |
---|---|---|
committer | beck <> | 2023-07-07 13:54:46 +0000 |
commit | 6bba0b0cef45b790c7a98a818e6018c91de8af0b (patch) | |
tree | 8637b2fb4bca234d55b598e035f23335be46ce49 /src/lib/libcrypto/ecdsa/ecs_lib.c | |
parent | fcdb286fc308a6ce5c66d8a4653f2e2e6c4903ed (diff) | |
download | openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.tar.gz openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.tar.bz2 openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.zip |
Hide symbols in hkdf, evp, err, ecdsa, and ec
(part 2 of commit)
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_lib.c')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_lib.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_lib.c b/src/lib/libcrypto/ecdsa/ecs_lib.c index ed02b552c9..e3e67ba07d 100644 --- a/src/lib/libcrypto/ecdsa/ecs_lib.c +++ b/src/lib/libcrypto/ecdsa/ecs_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_lib.c,v 1.24 2023/07/05 11:37:46 tb Exp $ */ | 1 | /* $OpenBSD: ecs_lib.c,v 1.25 2023/07/07 13:54:45 beck Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -80,12 +80,14 @@ ECDSA_OpenSSL(void) | |||
80 | { | 80 | { |
81 | return &openssl_ecdsa_meth; | 81 | return &openssl_ecdsa_meth; |
82 | } | 82 | } |
83 | LCRYPTO_ALIAS(ECDSA_OpenSSL); | ||
83 | 84 | ||
84 | void | 85 | void |
85 | ECDSA_set_default_method(const ECDSA_METHOD *meth) | 86 | ECDSA_set_default_method(const ECDSA_METHOD *meth) |
86 | { | 87 | { |
87 | default_ECDSA_method = meth; | 88 | default_ECDSA_method = meth; |
88 | } | 89 | } |
90 | LCRYPTO_ALIAS(ECDSA_set_default_method); | ||
89 | 91 | ||
90 | const ECDSA_METHOD * | 92 | const ECDSA_METHOD * |
91 | ECDSA_get_default_method(void) | 93 | ECDSA_get_default_method(void) |
@@ -95,12 +97,14 @@ ECDSA_get_default_method(void) | |||
95 | } | 97 | } |
96 | return default_ECDSA_method; | 98 | return default_ECDSA_method; |
97 | } | 99 | } |
100 | LCRYPTO_ALIAS(ECDSA_get_default_method); | ||
98 | 101 | ||
99 | int | 102 | int |
100 | ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth) | 103 | ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth) |
101 | { | 104 | { |
102 | return 0; | 105 | return 0; |
103 | } | 106 | } |
107 | LCRYPTO_ALIAS(ECDSA_set_method); | ||
104 | 108 | ||
105 | int | 109 | int |
106 | ECDSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | 110 | ECDSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, |
@@ -108,15 +112,18 @@ ECDSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | |||
108 | { | 112 | { |
109 | return -1; | 113 | return -1; |
110 | } | 114 | } |
115 | LCRYPTO_ALIAS(ECDSA_get_ex_new_index); | ||
111 | 116 | ||
112 | int | 117 | int |
113 | ECDSA_set_ex_data(EC_KEY *d, int idx, void *arg) | 118 | ECDSA_set_ex_data(EC_KEY *d, int idx, void *arg) |
114 | { | 119 | { |
115 | return 0; | 120 | return 0; |
116 | } | 121 | } |
122 | LCRYPTO_ALIAS(ECDSA_set_ex_data); | ||
117 | 123 | ||
118 | void * | 124 | void * |
119 | ECDSA_get_ex_data(EC_KEY *d, int idx) | 125 | ECDSA_get_ex_data(EC_KEY *d, int idx) |
120 | { | 126 | { |
121 | return NULL; | 127 | return NULL; |
122 | } | 128 | } |
129 | LCRYPTO_ALIAS(ECDSA_get_ex_data); | ||