From: Daniel Stenberg Date: Sat, 30 Jul 2016 22:51:48 +0000 (+0200) Subject: TLS: only reuse connections with the same client cert X-Git-Tag: curl-7_50_1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11ec5ad4352bba384404c56e77c7fab9382fd22d;p=thirdparty%2Fcurl.git TLS: only reuse connections with the same client cert CVE-2016-5420 Bug: https://curl.haxx.se/docs/adv_20160803B.html --- diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index 33e209dc12..38637771e9 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -99,6 +99,7 @@ Curl_ssl_config_matches(struct ssl_config_data* data, (data->verifyhost == needle->verifyhost) && safe_strequal(data->CApath, needle->CApath) && safe_strequal(data->CAfile, needle->CAfile) && + safe_strequal(data->clientcert, needle->clientcert) && safe_strequal(data->random_file, needle->random_file) && safe_strequal(data->egdsocket, needle->egdsocket) && safe_strequal(data->cipher_list, needle->cipher_list))