Add missing OPENSSL_NO_EC guards
authorMatt Caswell <matt@openssl.org>
Tue, 18 Nov 2014 17:16:57 +0000 (17:16 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 16 Dec 2014 14:13:56 +0000 (14:13 +0000)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
apps/s_cb.c

index f3892f92e613dd9f65cc92752136dc2c0aa30ab4..0a6d0ce3f54610b958a296c3c652af48e5c79f8a 100644 (file)
@@ -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:
                        {