Fix for NO_FILESYSTEM builds

This commit is contained in:
Sean Parkinson 2019-07-01 13:26:28 +10:00
parent f51a8fffde
commit 707156f53b

View File

@ -12941,6 +12941,8 @@ static int SetAltNamesFromDcert(Cert* cert, DecodedCert* decoded)
return ret;
}
#ifndef NO_FILESYSTEM
/* Set Alt Names from der cert, return 0 on success */
static int SetAltNamesFromCert(Cert* cert, const byte* der, int derSz)
{
@ -12979,6 +12981,8 @@ static int SetAltNamesFromCert(Cert* cert, const byte* der, int derSz)
return ret < 0 ? ret : 0;
}
#endif
static int SetDatesFromDcert(Cert* cert, DecodedCert* decoded)
{
int ret = 0;