diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-02-07 00:14:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-02-07 00:14:12 +0000 |
commit | 142fcca8ca2c8018a1e56c1047cbff47708d4538 (patch) | |
tree | 147db09a8c8ea5ccc03ab055cafb04a66aab94d8 /crypto/x509v3/v3_lib.c | |
parent | ebbfd76c694d3e2b9d8f68e4ce846d01fbf45be2 (diff) |
Add support for GeneralName and GeneralNames extensions. Also preliminary
support for subject and issuer alt name. Add a new ASN1 macro and fix a
nasty bug that left an ASN1 buffer modified on an error condition with
IMPLICIT tagging.
Diffstat (limited to 'crypto/x509v3/v3_lib.c')
-rw-r--r-- | crypto/x509v3/v3_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_lib.c b/crypto/x509v3/v3_lib.c index bc159b4432..1359fa3897 100644 --- a/crypto/x509v3/v3_lib.c +++ b/crypto/x509v3/v3_lib.c @@ -108,7 +108,7 @@ X509_EXTENSION *ext; return X509V3_EXT_get_nid(nid); } -extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku, v3_ns_ia5_list[]; +extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku, v3_ns_ia5_list[],v3_alt[]; int X509V3_EXT_add_list(extlist) X509V3_EXT_METHOD *extlist; @@ -150,6 +150,7 @@ X509V3_EXT_METHOD *ext; int X509V3_add_standard_extensions() { X509V3_EXT_add_list(v3_ns_ia5_list); + X509V3_EXT_add_list(v3_alt); X509V3_EXT_add(&v3_bcons); X509V3_EXT_add(&v3_nscert); X509V3_EXT_add(&v3_key_usage); |