diff options
Diffstat (limited to 'h')
-rw-r--r-- | h/rpki/manifest.h | 2 | ||||
-rw-r--r-- | h/rpki/roa.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/h/rpki/manifest.h b/h/rpki/manifest.h index 0e6cd531..83d180a7 100644 --- a/h/rpki/manifest.h +++ b/h/rpki/manifest.h @@ -66,7 +66,9 @@ typedef struct FileAndHash_st { ASN1_BIT_STRING *hash; } FileAndHash; +#ifdef DECLARE_STACK_OF DECLARE_STACK_OF(FileAndHash) +#endif ASN1_SEQUENCE(FileAndHash) = { ASN1_SIMPLE(FileAndHash, file, ASN1_IA5STRING), diff --git a/h/rpki/roa.h b/h/rpki/roa.h index a63f726b..2198e249 100644 --- a/h/rpki/roa.h +++ b/h/rpki/roa.h @@ -66,7 +66,9 @@ typedef struct ROAIPAddress_st { ASN1_INTEGER *maxLength; } ROAIPAddress; +#ifdef DECLARE_STACK_OF DECLARE_STACK_OF(ROAIPAddress) +#endif ASN1_SEQUENCE(ROAIPAddress) = { ASN1_SIMPLE(ROAIPAddress, IPAddress, ASN1_BIT_STRING), @@ -78,7 +80,9 @@ typedef struct ROAIPAddressFamily_st { STACK_OF(ROAIPAddress) *addresses; } ROAIPAddressFamily; +#ifdef DECLARE_STACK_OF DECLARE_STACK_OF(ROAIPAddressFamily) +#endif ASN1_SEQUENCE(ROAIPAddressFamily) = { ASN1_SIMPLE(ROAIPAddressFamily, addressFamily, ASN1_OCTET_STRING), |