Fix build failure on Windows due to undefined cflags identifier
[oweals/openssl.git] / apps / s_cb.c
index f3892f92e613dd9f65cc92752136dc2c0aa30ab4..7720144d5982670762e3fbc6d4accaa1fe6267fc 100644 (file)
@@ -230,7 +230,7 @@ int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file)
                        return(0);
                        }
 
-               /*
+               /*-
                In theory this is no longer needed 
                ssl=SSL_new(ctx);
                x509=SSL_get_certificate(ssl);
@@ -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:
                        {