From fd86c2b153de991362a98771bc6d3deb2ee579bd Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 18 Nov 2014 17:16:57 +0000 Subject: Add missing OPENSSL_NO_EC guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper --- apps/s_cb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/s_cb.c') diff --git a/apps/s_cb.c b/apps/s_cb.c index f3892f92e6..0a6d0ce3f5 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -1816,6 +1816,7 @@ static int security_callback_debug(SSL *s, SSL_CTX *ctx, BIO_puts(sdb->out, SSL_CIPHER_get_name(other)); break; +#ifndef OPENSSL_NO_EC case SSL_SECOP_OTHER_CURVE: { const char *cname; @@ -1825,6 +1826,7 @@ static int security_callback_debug(SSL *s, SSL_CTX *ctx, BIO_puts(sdb->out, cname); } break; +#endif case SSL_SECOP_OTHER_DH: { -- cgit v1.2.3