diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-08-21 22:02:23 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-08-21 22:02:23 +0000 |
commit | eaa28181898b8ca0b54552a3290789bb17444c8a (patch) | |
tree | 4360130c00f3d122b416ba40efee781e313db5c7 /apps/pkcs12.c | |
parent | 622ec449e5fe8f1e6bed036705ea97c74c9be1b7 (diff) | |
download | openssl-eaa28181898b8ca0b54552a3290789bb17444c8a.tar.gz |
Various fixes...
initialize ex_pathlen to -1 so it isn't checked if pathlen
is not present.
set ucert to NULL in apps/pkcs12.c otherwise it gets freed
twice.
remove extraneous '\r' in MIME encoder.
Allow a NULL to be passed to X509_gmtime_adj()
Make PKCS#7 code use definite length encoding rather then
the indefinite stuff it used previously.
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r-- | apps/pkcs12.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 963797155f..0f3ac4977a 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -502,6 +502,8 @@ int MAIN(int argc, char **argv) } sk_X509_pop_free(certs, X509_free); certs = NULL; + /* ucert is part of certs so it is already freed */ + ucert = NULL; #ifdef CRYPTO_MDEBUG CRYPTO_pop_info(); |