diff --git a/src/keys.c b/src/keys.c index 3612f384a..31afe8ba4 100644 --- a/src/keys.c +++ b/src/keys.c @@ -168,7 +168,8 @@ int SetCipherSpecs(SSL* ssl) default: return UNSUPPORTED_SUITE; - } + } /* switch */ + } /* if */ #endif /* HAVE_ECC */ if (ssl->options.cipherSuite0 != ECC_BYTE) { /* normal suites */ switch (ssl->options.cipherSuite) { @@ -482,8 +483,8 @@ int SetCipherSpecs(SSL* ssl) default: CYASSL_MSG("Unsupported cipher suite"); return UNSUPPORTED_SUITE; - } - } /* ECC / Normal suites else */ + } /* switch */ + } /* if ECC / Normal suites else */ /* set TLS if it hasn't been turned off */ if (ssl->version.major == 3 && ssl->version.minor >= 1) {