fixed bug in ifdef logic caused in pull req 6277

This commit is contained in:
Stanislav Klima
2023-06-30 16:39:53 +02:00
committed by David Garske
parent 95675c7e34
commit c2726b4cbe

View File

@ -422,6 +422,7 @@ typedef struct CertName {
#ifndef NUM_CUSTOM_EXT
#define NUM_CUSTOM_EXT 16
#endif /* NUM_CUSTOM_EXT */
/* for user to fill for certificate generation */
typedef struct Cert {
@ -618,7 +619,6 @@ WOLFSSL_API int wc_SetCustomExtension(Cert *cert, int critical, const char *oid,
#endif
#endif /* WOLFSSL_CERT_EXT */
#endif /* WOLFSSL_CERT_GEN */
WOLFSSL_API int wc_GetDateInfo(const byte* certDate, int certDateSz,
const byte** date, byte* format, int* length);