From 69bbf5d3d25509c96108eeeff1ff414ae04b2e29 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 21 Jul 2006 21:37:51 +0000 Subject: AFI constants svn path=/openssl/trunk/crypto/x509v3/v3_addr.h; revision=36 --- openssl/trunk/crypto/x509v3/v3_addr.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openssl/trunk/crypto/x509v3/v3_addr.h b/openssl/trunk/crypto/x509v3/v3_addr.h index c10f8400..98fe84dc 100644 --- a/openssl/trunk/crypto/x509v3/v3_addr.h +++ b/openssl/trunk/crypto/x509v3/v3_addr.h @@ -71,4 +71,14 @@ DECLARE_ASN1_FUNCTIONS(IPAddressOrRange) DECLARE_ASN1_FUNCTIONS(IPAddressChoice) DECLARE_ASN1_FUNCTIONS(IPAddressFamily) +/* + * AFI values, assigned by IANA. It'd be nice to make the AFI + * handling code totally generic, but there are too many little things + * that would need to be defined for other address families for it to + * be worth the trouble. + */ + +#define IANA_AFI_IPV4 1 +#define IANA_AFI_IPv6 2 + #endif /* HEADER_V3_ADDR_H */ -- cgit v1.2.3