summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdh/ech_ossl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ecdh/ech_ossl.c')
-rw-r--r--src/lib/libcrypto/ecdh/ech_ossl.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_ossl.c b/src/lib/libcrypto/ecdh/ech_ossl.c
index a63eb4922d..129475f7bb 100644
--- a/src/lib/libcrypto/ecdh/ech_ossl.c
+++ b/src/lib/libcrypto/ecdh/ech_ossl.c
@@ -84,14 +84,8 @@ static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key,
84 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)); 84 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
85 85
86static ECDH_METHOD openssl_ecdh_meth = { 86static ECDH_METHOD openssl_ecdh_meth = {
87 "OpenSSL ECDH method", 87 .name = "OpenSSL ECDH method",
88 ecdh_compute_key, 88 .compute_key = ecdh_compute_key
89#if 0
90 NULL, /* init */
91 NULL, /* finish */
92#endif
93 0, /* flags */
94 NULL /* app_data */
95}; 89};
96 90
97const ECDH_METHOD *ECDH_OpenSSL(void) 91const ECDH_METHOD *ECDH_OpenSSL(void)