summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_conf.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-02-10 01:12:59 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-02-10 01:12:59 +0000
commit175b0942ec7e82f86831916d325922817872e657 (patch)
tree44262b09075d8ca2b46b4819069f4a5df304ae89 /crypto/x509v3/v3_conf.c
parentc45beb91b3ddf18b29c65b64b9e0ee74497a7f27 (diff)
More extension code. Incomplete support for subject and issuer alt
name, issuer and authority key id. Change the i2v function parameters and add an extra 'crl' parameter in the X509V3_CTX structure: guess what that's for :-) Fix to ASN1 macro which messed up IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
Diffstat (limited to 'crypto/x509v3/v3_conf.c')
-rw-r--r--crypto/x509v3/v3_conf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_conf.c b/crypto/x509v3/v3_conf.c
index afe2ae249e..b97e7939ba 100644
--- a/crypto/x509v3/v3_conf.c
+++ b/crypto/x509v3/v3_conf.c
@@ -163,3 +163,11 @@ X509 *cert;
return 1;
}
+/* Just check syntax of config file as far as possible */
+int X509V3_EXT_check_conf(conf, section)
+LHASH *conf;
+char *section;
+{
+ static X509V3_CTX ctx_tst = { CTX_TEST, NULL, NULL, NULL, NULL };
+ return X509V3_EXT_add_conf(conf, &ctx_tst, section, NULL);
+}