forked from wolfSSL/wolfssl
fixed bug in ifdef logic caused in pull req 6277
This commit is contained in:
committed by
David Garske
parent
95675c7e34
commit
c2726b4cbe
@ -422,6 +422,7 @@ typedef struct CertName {
|
|||||||
|
|
||||||
#ifndef NUM_CUSTOM_EXT
|
#ifndef NUM_CUSTOM_EXT
|
||||||
#define NUM_CUSTOM_EXT 16
|
#define NUM_CUSTOM_EXT 16
|
||||||
|
#endif /* NUM_CUSTOM_EXT */
|
||||||
|
|
||||||
/* for user to fill for certificate generation */
|
/* for user to fill for certificate generation */
|
||||||
typedef struct Cert {
|
typedef struct Cert {
|
||||||
@ -618,7 +619,6 @@ WOLFSSL_API int wc_SetCustomExtension(Cert *cert, int critical, const char *oid,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* WOLFSSL_CERT_EXT */
|
#endif /* WOLFSSL_CERT_EXT */
|
||||||
#endif /* WOLFSSL_CERT_GEN */
|
|
||||||
|
|
||||||
WOLFSSL_API int wc_GetDateInfo(const byte* certDate, int certDateSz,
|
WOLFSSL_API int wc_GetDateInfo(const byte* certDate, int certDateSz,
|
||||||
const byte** date, byte* format, int* length);
|
const byte** date, byte* format, int* length);
|
||||||
|
Reference in New Issue
Block a user