aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/x_x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-10-13 01:11:56 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-10-13 01:11:56 +0000
commit673b102c5b265bd6c517ac40ab76e1606a243c08 (patch)
treebf23e05bed43e5c523765b8240f721ba4e04dc07 /crypto/asn1/x_x509.c
parent56a3fec1b12d9a95f9b79ce7918fe619488caa9a (diff)
downloadopenssl-673b102c5b265bd6c517ac40ab76e1606a243c08.zip
openssl-673b102c5b265bd6c517ac40ab76e1606a243c08.tar.gz
openssl-673b102c5b265bd6c517ac40ab76e1606a243c08.tar.bz2
Initial support for certificate purpose checking: this will
ultimately lead to certificate chain verification. It is VERY EXPERIMENTAL at present though.
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 c428997..5326deb 100644
--- a/crypto/asn1/x_x509.c
+++ b/crypto/asn1/x_x509.c
@@ -116,6 +116,7 @@ X509 *X509_new(void)
M_ASN1_New_Malloc(ret,X509);
ret->references=1;
ret->valid=0;
+ ret->ex_flags = 0;
ret->name=NULL;
M_ASN1_New(ret->cert_info,X509_CINF_new);
M_ASN1_New(ret->sig_alg,X509_ALGOR_new);