mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 01:30:49 +02:00
Fix copy-paste error in EncodeCertReq guard check where falconKey was checked twice instead of including dilithiumKey and sphincsKey
This commit is contained in:
+1
-1
@@ -33565,7 +33565,7 @@ static int EncodeCertReq(Cert* cert, DerCert* der, RsaKey* rsaKey,
|
||||
|
||||
if (rsaKey == NULL && eccKey == NULL && ed25519Key == NULL &&
|
||||
dsaKey == NULL && ed448Key == NULL && falconKey == NULL &&
|
||||
falconKey == NULL) {
|
||||
dilithiumKey == NULL && sphincsKey == NULL) {
|
||||
return PUBLIC_KEY_E;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user