mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
The following config:
./configure --with-liboqs --enable-all --disable-psk --enable-intelasm --enable-aesni --enable-sp-math-all --enable-sp-asm CFLAGS="-O3" Yeilds the following erorr: src/internal.c: In function ‘DoServerKeyExchange’: src/internal.c:24487:28: error: ‘sigAlgo’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 24487 | if (sigAlgo == ed448_sa_algo && | ^ This fixes it.
This commit is contained in:
@ -24450,7 +24450,7 @@ static int DoServerKeyExchange(WOLFSSL* ssl, const byte* input,
|
|||||||
#else
|
#else
|
||||||
enum wc_HashType hashType;
|
enum wc_HashType hashType;
|
||||||
word16 verifySz;
|
word16 verifySz;
|
||||||
byte sigAlgo;
|
byte sigAlgo = 0;
|
||||||
|
|
||||||
if (ssl->options.usingAnon_cipher) {
|
if (ssl->options.usingAnon_cipher) {
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user