diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-03-21 17:26:20 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-03-21 17:26:20 +0100 |
commit | f80153e20b9db5f0e18db6a259f8bdb88ff79273 (patch) | |
tree | 1b2b2938ff2b39e0667f1b2397d35d9994f54e8c /crypto/x509v3/v3_conf.c | |
parent | remove patch ID (which is supposed to appear in patched variants of (diff) | |
download | openssl-f80153e20b9db5f0e18db6a259f8bdb88ff79273.tar.xz openssl-f80153e20b9db5f0e18db6a259f8bdb88ff79273.zip |
Support for policy constraints.
Diffstat (limited to 'crypto/x509v3/v3_conf.c')
-rw-r--r-- | crypto/x509v3/v3_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_conf.c b/crypto/x509v3/v3_conf.c index eeb365b081..7e813db0d7 100644 --- a/crypto/x509v3/v3_conf.c +++ b/crypto/x509v3/v3_conf.c @@ -134,7 +134,7 @@ static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, { if(*value == '@') nval = NCONF_get_section(conf, value + 1); else nval = X509V3_parse_list(value); - if(!nval) + if(sk_CONF_VALUE_num(nval) <= 0) { X509V3err(X509V3_F_X509V3_EXT_CONF,X509V3_R_INVALID_EXTENSION_STRING); ERR_add_error_data(4, "name=", OBJ_nid2sn(ext_nid), ",section=", value); |