diff --git a/src/internal.c b/src/internal.c index bc9c6a255..002adc81a 100644 --- a/src/internal.c +++ b/src/internal.c @@ -18153,8 +18153,8 @@ static int DoServerKeyExchange(WOLFSSL* ssl, const byte* input, args->idx += length; ssl->peerEccKeyPresent = 1; - break; #endif + break; } #endif /* HAVE_ECC || HAVE_CURVE25519 */ #if !defined(NO_DH) && !defined(NO_PSK) diff --git a/tests/api.c b/tests/api.c index a41c206b9..1731b589e 100644 --- a/tests/api.c +++ b/tests/api.c @@ -21427,6 +21427,10 @@ static void test_CheckCertSignature(void) #endif #endif + (void)fp; + (void)cert; + (void)certSz; + wolfSSL_CertManagerFree(cm); #endif }