fix call to MakeAnyCert from wc_MakeNtruCert(); it was missing the new parameter

This commit is contained in:
John Safranek
2020-08-17 17:12:11 -07:00
parent c1090cff3f
commit 6e49a63e50

View File

@ -13475,7 +13475,8 @@ int wc_MakeCert(Cert* cert, byte* derBuffer, word32 derSz, RsaKey* rsaKey,
int wc_MakeNtruCert(Cert* cert, byte* derBuffer, word32 derSz,
const byte* ntruKey, word16 keySz, WC_RNG* rng)
{
return MakeAnyCert(cert, derBuffer, derSz, NULL, NULL, rng, ntruKey, keySz, NULL);
return MakeAnyCert(cert, derBuffer, derSz, NULL, NULL, rng,
ntruKey, keySz, NULL, NULL);
}
#endif /* HAVE_NTRU */