mirror of
https://github.com/curl/curl.git
synced 2026-07-16 12:47:16 +03:00
openssl: remove dead code
A condition in infof_certstack() would always equal true after a
previous change.
Follow-up to e2a4de8a60
Pointed out by Coverity
Closes #19142
This commit is contained in:
parent
d3b2ba92c7
commit
00cb679c04
1 changed files with 1 additions and 1 deletions
|
|
@ -4898,7 +4898,7 @@ static void infof_certstack(struct Curl_easy *data, const SSL *ssl)
|
|||
curl_msnprintf(group_name_final, sizeof(group_name_final), "/%s",
|
||||
group_name);
|
||||
}
|
||||
type_name = current_pkey ? EVP_PKEY_get0_type_name(current_pkey) : NULL;
|
||||
type_name = EVP_PKEY_get0_type_name(current_pkey);
|
||||
#else
|
||||
get_group_name = 0;
|
||||
type_name = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue