forked from wolfSSL/wolfssl
Merge pull request #1698 from SparkiDev/ed25519_def
Fix define protection to be ED25519 not ECC
This commit is contained in:
@ -16183,7 +16183,7 @@ void PickHashSigAlgo(WOLFSSL* ssl, const byte* hashSigAlgo,
|
|||||||
byte hashAlgo = 0, sigAlgo = 0;
|
byte hashAlgo = 0, sigAlgo = 0;
|
||||||
|
|
||||||
DecodeSigAlg(&hashSigAlgo[i], &hashAlgo, &sigAlgo);
|
DecodeSigAlg(&hashSigAlgo[i], &hashAlgo, &sigAlgo);
|
||||||
#ifdef HAVE_ECC
|
#ifdef HAVE_ED25519
|
||||||
if (ssl->pkCurveOID == ECC_ED25519_OID && sigAlgo != ed25519_sa_algo)
|
if (ssl->pkCurveOID == ECC_ED25519_OID && sigAlgo != ed25519_sa_algo)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user