diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index bfa90e54233..c817b200356 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -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; }