summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVladimir Medvedkin <vladimir.medvedkin@intel.com>2020-12-02 17:39:01 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-12-04 01:46:29 +0000
commite6293ad19b96c76b60356ea63bb9681ea7441868 (patch)
treeec3355c3c2cf23a0fac399c45ae28814dab2951e /src/plugins
parentb18b190cb2bb851e0e56e0a23e24e512d4fb63de (diff)
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 <vladimir.medvedkin@intel.com> Change-Id: I657a7feaf1d1fdf3f2ca74fb3787977c65891a20
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/tlspicotls/tls_picotls.c6
1 files changed, 3 insertions, 3 deletions
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
};