Skip to content

Commit 052fba8

Browse files
authored
Merge pull request #6563 from SKlimaRA/SKlimaRA/fix-funky-ifdef
fixed bug in ifdef logic caused in pull req 6277
2 parents e1cb74f + c2726b4 commit 052fba8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/wolfcrypt/asn_public.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ typedef struct CertName {
422422

423423
#ifndef NUM_CUSTOM_EXT
424424
#define NUM_CUSTOM_EXT 16
425+
#endif /* NUM_CUSTOM_EXT */
425426

426427
/* for user to fill for certificate generation */
427428
typedef struct Cert {
@@ -618,7 +619,6 @@ WOLFSSL_API int wc_SetCustomExtension(Cert *cert, int critical, const char *oid,
618619
#endif
619620

620621
#endif /* WOLFSSL_CERT_EXT */
621-
#endif /* WOLFSSL_CERT_GEN */
622622

623623
WOLFSSL_API int wc_GetDateInfo(const byte* certDate, int certDateSz,
624624
const byte** date, byte* format, int* length);

0 commit comments

Comments
 (0)