diff options
author | Rob Austein <sra@hactrn.net> | 2006-07-21 21:37:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-07-21 21:37:51 +0000 |
commit | 69bbf5d3d25509c96108eeeff1ff414ae04b2e29 (patch) | |
tree | 0e1cd4c001fed839f2d01e5cdee2e9a0ec7362f8 /openssl/trunk/crypto/x509v3/v3_addr.h | |
parent | 3380a0c8142b887cad14282ff2852bb22cbb2536 (diff) |
AFI constants
svn path=/openssl/trunk/crypto/x509v3/v3_addr.h; revision=36
Diffstat (limited to 'openssl/trunk/crypto/x509v3/v3_addr.h')
-rw-r--r-- | openssl/trunk/crypto/x509v3/v3_addr.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 */ |