fix for build with NTRU and certgen

This commit is contained in:
Jacob Barthelmeh
2018-03-09 14:21:43 -07:00
parent 72f390a102
commit 8fdb99443a

View File

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