move it to build option

This commit is contained in:
Takashi Kojo
2019-12-06 06:28:25 +09:00
parent 7e45ae2ec6
commit d74a1888bb
2 changed files with 4 additions and 6 deletions

View File

@ -3490,10 +3490,6 @@ struct WOLFSSL_X509_NAME {
#endif
};
#ifndef EXTERNAL_SERIAL_SIZE
#define EXTERNAL_SERIAL_SIZE 32
#endif
#ifdef NO_ASN
typedef struct DNS_entry DNS_entry;
#endif

View File

@ -66,12 +66,14 @@
extern "C" {
#endif
#ifndef EXTERNAL_SERIAL_SIZE
#define EXTERNAL_SERIAL_SIZE 32
#endif
enum {
ISSUER = 0,
SUBJECT = 1,
EXTERNAL_SERIAL_SIZE = 32,
BEFORE = 0,
AFTER = 1
};