Merge pull request #2317 from SparkiDev/asn_nofs_fix

Fix for NO_FILESYSTEM builds
This commit is contained in:
toddouska
2019-07-08 13:32:27 -07:00
committed by GitHub

View File

@ -12958,6 +12958,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)
{
@ -12996,6 +12998,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;