diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-01-25 01:09:21 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-01-25 01:09:21 +0000 |
commit | f317aa4c9cb03dd680247bdcf6a22c1b799890e7 (patch) | |
tree | 8eb5c59eb4c833f0c9079d5b58782dd783ddb1e0 /crypto/x509v3 | |
parent | d0cc3d346001c181ef1f1aab986c4a3e6bd8624f (diff) | |
download | openssl-f317aa4c9cb03dd680247bdcf6a22c1b799890e7.tar.gz |
More X509 V3 stuff. Add support for extensions in the 'req' application
so that: openssl req -x509 -new -out cert.pem
will take extensions from openssl.cnf a sample for a CA is included.
Also change the directory order so pem is nearer the end. Otherwise 'make links'
wont work because pem.h can't be built.
Diffstat (limited to 'crypto/x509v3')
-rw-r--r-- | crypto/x509v3/v3_bitstr.c | 2 | ||||
-rw-r--r-- | crypto/x509v3/x509v3.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_bitstr.c b/crypto/x509v3/v3_bitstr.c index 46d8836cd6..10ce8f04ef 100644 --- a/crypto/x509v3/v3_bitstr.c +++ b/crypto/x509v3/v3_bitstr.c @@ -94,7 +94,7 @@ static BIT_STRING_BITNAME key_usage_type_table[] = { {3, "Data Encipherment", "dataEncipherment"}, {4, "Key Agreement", "keyAgreement"}, {5, "Certificate Sign", "keyCertSign"}, -{6, "CRL Sign", "cRLCertSign"}, +{6, "CRL Sign", "cRLSign"}, {7, "Encipher Only", "encipherOnly"}, {8, "Decipher Only", "decipherOnly"}, {-1, NULL, NULL} diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h index 79bb903ccf..276e3ac2ef 100644 --- a/crypto/x509v3/x509v3.h +++ b/crypto/x509v3/x509v3.h @@ -106,7 +106,7 @@ char *usr_data; /* Any extension specific data */ }; /* Context specific info */ -struct v3_ctx_struct { +struct v3_ext_ctx { X509 *issuer_cert; X509 *subject_cert; X509_REQ *subject_req; |