From e6293ad19b96c76b60356ea63bb9681ea7441868 Mon Sep 17 00:00:00 2001 From: Vladimir Medvedkin Date: Wed, 2 Dec 2020 17:39:01 +0000 Subject: tls: allow picotls to use secp elliptic curves Fix typos in macros for elliptic curves over prime field. Type: fix Fixes: f83194c2f4 Signed-off-by: Vladimir Medvedkin Change-Id: I657a7feaf1d1fdf3f2ca74fb3787977c65891a20 --- src/plugins/tlspicotls/tls_picotls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/tlspicotls') diff --git a/src/plugins/tlspicotls/tls_picotls.c b/src/plugins/tlspicotls/tls_picotls.c index 32bc2a3c57a..58672aa6407 100644 --- a/src/plugins/tlspicotls/tls_picotls.c +++ b/src/plugins/tlspicotls/tls_picotls.c @@ -117,13 +117,13 @@ picotls_start_listen (tls_ctx_t * lctx) #ifdef PTLS_OPENSSL_HAVE_X25519 &ptls_openssl_x25519, #endif -#ifdef PTLS_OPENSSL_HAVE_SECP256r1 +#ifdef PTLS_OPENSSL_HAVE_SECP256R1 &ptls_openssl_secp256r1, #endif -#ifdef PTLS_OPENSSL_HAVE_SECP384r1 +#ifdef PTLS_OPENSSL_HAVE_SECP384R1 &ptls_openssl_secp384r1, #endif -#ifdef PTLS_OPENSSL_HAVE_SECP521r1 +#ifdef PTLS_OPENSSL_HAVE_SECP521R1 &ptls_openssl_secp521r1 #endif }; -- cgit 1.2.3-korg