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 f3892f9..0a6d0ce 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:
                        {