openssl/crypto/x509
Matt Caswell 1c705121af Don't crash if there are no trusted certs
The X509_STORE_CTX_init() docs explicitly allow a NULL parameter for the
X509_STORE. Therefore we shouldn't crash if we subsequently call
X509_verify_cert() and no X509_STORE has been set.

Fixes #2462

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6001)
2018-04-19 08:53:40 +01:00
..
build.info move x_pubkey.c to crypto/x509 2016-03-22 15:28:11 +00:00
by_dir.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
by_file.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
t_crl.c Add padding spaces before printing signature algorithm for CRLs output 2017-11-16 01:19:55 +01:00
t_req.c Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
t_x509.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
x509_att.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_cmp.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_d2.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_def.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
x509_ext.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_lcl.h Add support for custom signature parameters 2017-04-25 22:12:34 +01:00
x509_lu.c Don't crash if there are no trusted certs 2018-04-19 08:53:40 +01:00
x509_obj.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_r2x.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x509_req.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_set.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_trs.c Remove pointless free loop in X509_TRUST_cleanup() 2016-06-20 09:58:58 -04:00
x509_txt.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509_v3.c Update copyright year 2018-02-27 13:59:42 +00:00
x509_vfy.c Remove unnecessary #include <openssl/lhash.h> directives. 2017-09-29 07:38:56 +10:00
x509_vpm.c Remove unnecessary #include <openssl/lhash.h> directives. 2017-09-29 07:38:56 +10:00
x509cset.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509name.c Update copyright year 2018-04-17 15:18:40 +02:00
x509rset.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509spki.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x509type.c Update copyright year 2018-03-20 13:08:46 +00:00
x_all.c Use safestack.h exclusively internally. 2017-09-28 13:14:33 +10:00
x_attrib.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x_crl.c X509_CRL_digest() - ensure precomputed sha1 hash before returning it 2017-01-28 20:07:04 +01:00
x_exten.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_name.c Fix error handling/cleanup 2017-09-07 16:01:07 -04:00
x_pubkey.c Fix error handling in i2d* functions. 2017-11-03 15:46:51 +01:00
x_req.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_x509.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
x_x509a.c Constify some inputs buffers 2016-08-23 11:47:22 +02:00