openssl/crypto/x509
Viktor Dukhovni f3e235ed6f Ensure verify error is set when X509_verify_cert() fails
Set ctx->error = X509_V_ERR_OUT_OF_MEM when verificaiton cannot
continue due to malloc failure.  Also, when X509_verify_cert()
returns <= 0 make sure that the verification status does not remain
X509_V_OK, as a last resort set it it to X509_V_ERR_UNSPECIFIED,
just in case some code path returns an error without setting an
appropriate value of ctx->error.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-05-18 15:16:37 -04:00
..
build.info
by_dir.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
by_file.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
t_crl.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
t_req.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
t_x509.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_att.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_cmp.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_d2.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_def.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_err.c X509_STORE_CTX accessors. 2016-05-17 16:06:09 -04:00
x509_ext.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_lcl.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_lu.c X509_STORE_CTX accessors. 2016-05-17 16:06:09 -04:00
x509_obj.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_r2x.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_req.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_set.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_trs.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_txt.c Ensure verify error is set when X509_verify_cert() fails 2016-05-18 15:16:37 -04:00
x509_v3.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_vfy.c Ensure verify error is set when X509_verify_cert() fails 2016-05-18 15:16:37 -04:00
x509_vpm.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509cset.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509name.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509rset.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509spki.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509type.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_all.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_attrib.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_crl.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_exten.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_name.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_pubkey.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_req.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_x509.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_x509a.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00