mirror of
https://github.com/curl/curl.git
synced 2026-05-30 03:07:28 +03:00
openssl: check return value of X509_get0_pubkey
Fixes #16468 Closes #16469
This commit is contained in:
parent
a55b5b7c62
commit
5addb3e1cc
1 changed files with 1 additions and 1 deletions
|
|
@ -4532,7 +4532,7 @@ static void infof_certstack(struct Curl_easy *data, const SSL *ssl)
|
|||
sizeof(group_name), NULL);
|
||||
msnprintf(group_name_final, sizeof(group_name_final), "/%s", group_name);
|
||||
}
|
||||
type_name = EVP_PKEY_get0_type_name(current_pkey);
|
||||
type_name = current_pkey ? EVP_PKEY_get0_type_name(current_pkey) : NULL;
|
||||
#else
|
||||
get_group_name = 0;
|
||||
type_name = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue