mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +03:00
libssh: add support for SHA256 host public keys
Reported-by: Joshua Rogers Fixes #21605 Closes #21607
This commit is contained in:
parent
9135294115
commit
eb9b253d66
11 changed files with 85 additions and 48 deletions
|
|
@ -2768,10 +2768,7 @@ static ParameterError opt_string(struct OperationConfig *config,
|
|||
}
|
||||
break;
|
||||
case C_HOSTPUBSHA256: /* --hostpubsha256 */
|
||||
if(!feature_libssh2)
|
||||
err = PARAM_LIBCURL_DOESNT_SUPPORT;
|
||||
else
|
||||
err = getstr(&config->hostpubsha256, nextarg, DENY_BLANK);
|
||||
err = getstr(&config->hostpubsha256, nextarg, DENY_BLANK);
|
||||
break;
|
||||
case C_TLSUSER: /* --tlsuser */
|
||||
if(!feature_tls_srp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue