From 707156f53b3efe5d23354bc85e2d8e3bb1104ef3 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Mon, 1 Jul 2019 13:26:28 +1000 Subject: [PATCH] Fix for NO_FILESYSTEM builds --- wolfcrypt/src/asn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 4f01f5834..cd414329c 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -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;