diff options
Diffstat (limited to 'src/lib/libcrypto/ecdh/ech_lib.c')
-rw-r--r-- | src/lib/libcrypto/ecdh/ech_lib.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_lib.c b/src/lib/libcrypto/ecdh/ech_lib.c index 52019b01c1..c8e5744c0a 100644 --- a/src/lib/libcrypto/ecdh/ech_lib.c +++ b/src/lib/libcrypto/ecdh/ech_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_lib.c,v 1.23 2023/07/05 08:39:40 tb Exp $ */ | 1 | /* $OpenBSD: ech_lib.c,v 1.24 2023/07/07 13:54:45 beck Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -98,12 +98,14 @@ ECDH_OpenSSL(void) | |||
98 | { | 98 | { |
99 | return &openssl_ecdh_meth; | 99 | return &openssl_ecdh_meth; |
100 | } | 100 | } |
101 | LCRYPTO_ALIAS(ECDH_OpenSSL); | ||
101 | 102 | ||
102 | void | 103 | void |
103 | ECDH_set_default_method(const ECDH_METHOD *meth) | 104 | ECDH_set_default_method(const ECDH_METHOD *meth) |
104 | { | 105 | { |
105 | default_ECDH_method = meth; | 106 | default_ECDH_method = meth; |
106 | } | 107 | } |
108 | LCRYPTO_ALIAS(ECDH_set_default_method); | ||
107 | 109 | ||
108 | const ECDH_METHOD * | 110 | const ECDH_METHOD * |
109 | ECDH_get_default_method(void) | 111 | ECDH_get_default_method(void) |
@@ -113,12 +115,14 @@ ECDH_get_default_method(void) | |||
113 | } | 115 | } |
114 | return default_ECDH_method; | 116 | return default_ECDH_method; |
115 | } | 117 | } |
118 | LCRYPTO_ALIAS(ECDH_get_default_method); | ||
116 | 119 | ||
117 | int | 120 | int |
118 | ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) | 121 | ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) |
119 | { | 122 | { |
120 | return 0; | 123 | return 0; |
121 | } | 124 | } |
125 | LCRYPTO_ALIAS(ECDH_set_method); | ||
122 | 126 | ||
123 | int | 127 | int |
124 | ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | 128 | ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, |
@@ -126,15 +130,18 @@ ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | |||
126 | { | 130 | { |
127 | return -1; | 131 | return -1; |
128 | } | 132 | } |
133 | LCRYPTO_ALIAS(ECDH_get_ex_new_index); | ||
129 | 134 | ||
130 | int | 135 | int |
131 | ECDH_set_ex_data(EC_KEY *d, int idx, void *arg) | 136 | ECDH_set_ex_data(EC_KEY *d, int idx, void *arg) |
132 | { | 137 | { |
133 | return 0; | 138 | return 0; |
134 | } | 139 | } |
140 | LCRYPTO_ALIAS(ECDH_set_ex_data); | ||
135 | 141 | ||
136 | void * | 142 | void * |
137 | ECDH_get_ex_data(EC_KEY *d, int idx) | 143 | ECDH_get_ex_data(EC_KEY *d, int idx) |
138 | { | 144 | { |
139 | return NULL; | 145 | return NULL; |
140 | } | 146 | } |
147 | LCRYPTO_ALIAS(ECDH_get_ex_data); | ||