From 4efb856de24cecc1daca84e5154e90bde99761f4 Mon Sep 17 00:00:00 2001 From: Todd A Ouska Date: Tue, 12 Jul 2011 13:50:26 -0700 Subject: [PATCH] keys warning changes, submitted by Kevin Baca --- src/keys.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keys.c b/src/keys.c index e5477a3b5..3612f384a 100644 --- a/src/keys.c +++ b/src/keys.c @@ -32,6 +32,7 @@ int SetCipherSpecs(SSL* ssl) { +#ifdef HAVE_ECC /* ECC extensions */ if (ssl->options.cipherSuite0 == ECC_BYTE) { @@ -168,7 +169,8 @@ int SetCipherSpecs(SSL* ssl) default: return UNSUPPORTED_SUITE; } - } else { /* Normal suites */ +#endif /* HAVE_ECC */ + if (ssl->options.cipherSuite0 != ECC_BYTE) { /* normal suites */ switch (ssl->options.cipherSuite) { #ifdef BUILD_SSL_RSA_WITH_RC4_128_SHA