Only set current certificate to valid values.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 23 Feb 2014 13:46:52 +0000 (13:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 23 Feb 2014 13:49:21 +0000 (13:49 +0000)
commitc3f5d3d93ac81c2866a739f1981d948e6aba1fde
tree2236895e43d006197b70ca2ea373c5f96f242342
parentc5ea65b157e17743c881b9e348524b0281b3d39f
Only set current certificate to valid values.

When setting the current certificate check that it has a corresponding
private key.
(cherry picked from commit 358d352aa244b4f2ef655bccff6658d92d5ce03c)
ssl/ssl_cert.c