Fix copy-paste error in EncodeCertReq guard check where falconKey was checked twice instead of including dilithiumKey and sphincsKey

This commit is contained in:
aidan garske
2026-03-09 11:43:41 -07:00
parent b3f08f33b8
commit 832af2164b
+1 -1
View File
@@ -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;
}