inf->x_pkey->dec_pkey is always non-NULL, so also look at inf->enc_data.
PR 54698.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1467593 13f79535-47bb-0310-9956-
ffa450edef68
for (n = 0; n < ncerts; n++) {
X509_INFO *inf = sk_X509_INFO_value(sk, n);
- if (!inf->x509 || !inf->x_pkey || !inf->x_pkey->dec_pkey) {
+ if (!inf->x509 || !inf->x_pkey || !inf->x_pkey->dec_pkey ||
+ inf->enc_data) {
sk_X509_INFO_free(sk);
ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, APLOGNO(02252)
"incomplete client cert configured for SSL proxy "