Allow match selecting of current certificate.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 13 Nov 2013 22:57:11 +0000 (22:57 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 13 Nov 2013 23:47:49 +0000 (23:47 +0000)
commitff0bdbed85bc8df4a05c34298a03444e215fd05c
tree44bc5e370e009baef049d70b94b93efd85bdbbfe
parentdc4bdf592f2865197312ebf7aee2c1d0a1e30b4f
Allow match selecting of current certificate.

If pointer comparison for current certificate fails check
to see if a match using X509_cmp succeeds for the current
certificate: this is useful for cases where the certificate
pointer is not available.
(cherry picked from commit 6856b288a6e66edd23907b7fa264f42e05ac9fc7)
ssl/ssl_cert.c