summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_alt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-04-27 00:36:20 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-04-27 00:36:20 +0000
commitb64f825671861144e1c24f2a5498a95a083021cd (patch)
tree96633569d2d6416f56fea9037fe35e80b5ebe469 /crypto/x509v3/v3_alt.c
parent73d2257d978c7a201d6a914dc141ea1484d9aa6f (diff)
Add PKCS#12 documentation and new option in x509 to add certificate extensions.
Diffstat (limited to 'crypto/x509v3/v3_alt.c')
-rw-r--r--crypto/x509v3/v3_alt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c
index 99026fc8bc..e66a0748fd 100644
--- a/crypto/x509v3/v3_alt.c
+++ b/crypto/x509v3/v3_alt.c
@@ -96,6 +96,7 @@ STACK *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
gen = sk_GENERAL_NAME_value(gens, i);
ret = i2v_GENERAL_NAME(method, gen, ret);
}
+ if(!ret) return sk_GENERAL_NAME_new_null();
return ret;
}