Mailing Lists
| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1290 Client code, ADH, servercert, and NULL certifcate
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Tue, 05 Nov 2013 09:30:04 +0000
- **status**: open --> pending-invalid
---
** [bugs:#1290] Client code, ADH, servercert, and NULL certifcate**
**Status:** pending-invalid
**Created:** Sun Oct 13, 2013 09:12 AM UTC by Jeffrey Walton
**Last Updated:** Sat Oct 19, 2013 09:05 PM UTC
**Owner:** Daniel Stenberg
// From ssluse.c, around line 2127
connssl->server_cert = SSL_get_peer_certificate(connssl->handle);
if(!connssl->server_cert) {
if(strict)
failf(data, "SSL: couldn't get peer certificate!");
return CURLE_PEER_FAILED_VERIFICATION;
}
In client code, `SSL_get_peer_certificate` will return `NULL` in the case of ADH *if* the server does not have a certificate to offer. If the user asked for ADH, then the return value might be misleading or even incorrect.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-11-05
These mail archives are generated by hypermail. |
Page updated May 06, 2013.
web site info