diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-02-16 01:35:44 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-02-16 01:35:44 +0000 |
commit | a6b7ffddac43c0805d02e7236034308f39bcd183 (patch) | |
tree | b2644cd3df4422d7981dafd66db1a529c9cc66d6 /crypto/x509v3/v3_lib.c | |
parent | f30d34f3a8f6dbdf33d01967e2671bfa90552728 (diff) |
New options to 'ca' utility to support CRL entry extensions.
Add revelant new X509V3 extensions.
Add OIDs.
Fix ASN1 memory leak code to pop info if external allocation used.
Diffstat (limited to 'crypto/x509v3/v3_lib.c')
-rw-r--r-- | crypto/x509v3/v3_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_lib.c b/crypto/x509v3/v3_lib.c index d8301a67bd..9ea59fb8f9 100644 --- a/crypto/x509v3/v3_lib.c +++ b/crypto/x509v3/v3_lib.c @@ -276,7 +276,7 @@ int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, if(!ext) { X509V3err(X509V3_F_X509V3_ADD_I2D, X509V3_R_ERROR_CREATING_EXTENSION); - return -1; + return 0; } /* If extension exists replace it.. */ |