From: Vladimir Medvedkin Date: Wed, 2 Dec 2020 17:39:01 +0000 (+0000) Subject: tls: allow picotls to use secp elliptic curves X-Git-Tag: v21.06-rc0~70 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=e6293ad19b96c76b60356ea63bb9681ea7441868;p=vpp.git 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 --- 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 };