From 999de3146c7bec7ca9e2c55f1f4143b527ba98c4 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 23 Jun 2015 00:51:07 +0200 Subject: add support for ECDH as well as custom ec+dh params in certificate --- tls.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tls.h') diff --git a/tls.h b/tls.h index a4650af..808b115 100644 --- a/tls.h +++ b/tls.h @@ -3,6 +3,11 @@ #include +/* ECC: make sure we have at least 1.0.0 */ +#if !defined(OPENSSL_NO_EC) && defined(TLSEXT_ECPOINTFORMAT_uncompressed) +#define HAVE_ECC +#endif + extern int smtps; extern SSL *ssl; -- cgit v1.2.3