mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 09:22:43 +01:00
src/internal.c: fix clang-analyzer-deadcode.DeadStores in GetEcDiffieHellmanKea().
This commit is contained in:
@@ -32307,6 +32307,8 @@ static int GetEcDiffieHellmanKea(WOLFSSL *ssl,
|
||||
else {
|
||||
SendAlert(ssl, alert_fatal, illegal_parameter);
|
||||
}
|
||||
#else
|
||||
(void)ret;
|
||||
#endif
|
||||
return ECC_PEERKEY_ERROR;
|
||||
}
|
||||
@@ -32349,6 +32351,8 @@ static int GetEcDiffieHellmanKea(WOLFSSL *ssl,
|
||||
else {
|
||||
SendAlert(ssl, alert_fatal, illegal_parameter);
|
||||
}
|
||||
#else
|
||||
(void)ret;
|
||||
#endif
|
||||
return ECC_PEERKEY_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user