aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/x_x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-08-21 22:02:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-08-21 22:02:23 +0000
commiteaa28181898b8ca0b54552a3290789bb17444c8a (patch)
tree4360130c00f3d122b416ba40efee781e313db5c7 /crypto/asn1/x_x509.c
parent622ec449e5fe8f1e6bed036705ea97c74c9be1b7 (diff)
downloadopenssl-eaa28181898b8ca0b54552a3290789bb17444c8a.zip
openssl-eaa28181898b8ca0b54552a3290789bb17444c8a.tar.gz
openssl-eaa28181898b8ca0b54552a3290789bb17444c8a.tar.bz2
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/x_x509.c b/crypto/asn1/x_x509.c
index ea71a29..36f0e47 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);