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 /crypto/asn1/x_x509.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 'crypto/asn1/x_x509.c')
-rw-r--r-- | crypto/asn1/x_x509.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/x_x509.c b/crypto/asn1/x_x509.c index ea71a29c9a..36f0e4743e 100644 --- a/crypto/asn1/x_x509.c +++ b/crypto/asn1/x_x509.c @@ -117,6 +117,7 @@ X509 *X509_new(void) ret->references=1; ret->valid=0; ret->ex_flags = 0; + ret->ex_pathlen = -1; ret->name=NULL; ret->aux=NULL; M_ASN1_New(ret->cert_info,X509_CINF_new); |