From 5a766bd5bbacaf71966a91d745ec241022f11f67 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 30 Jan 2020 14:44:57 +0100 Subject: [PATCH] Change STR_SIZEOF declaration file --- wolfcrypt/src/asn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 5624258a9..4494893af 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -10210,8 +10210,6 @@ int wc_DerToPemEx(const byte* der, word32 derSz, byte* output, word32 outSz, #ifdef WOLFSSL_PEM_TO_DER -#define STR_SIZEOF(x) (sizeof(x) - 1) /* -1 to not count the null char */ - /* Remove PEM header/footer, convert to ASN1, store any encrypted data info->consumed tracks of PEM bytes consumed in case multiple parts */ int PemToDer(const unsigned char* buff, long longSz, int type,