mirror of
https://github.com/curl/curl.git
synced 2025-09-10 14:12:41 +03:00
libssh2: minor tidy-ups
Fix indentation and drop an unnecessary assigment. Closes #16812
This commit is contained in:
parent
be21c95740
commit
5cce329873
|
@ -684,7 +684,7 @@ static CURLcode ssh_check_fingerprint(struct Curl_easy *data)
|
||||||
|
|
||||||
if(pubkey_md5) {
|
if(pubkey_md5) {
|
||||||
char md5buffer[33];
|
char md5buffer[33];
|
||||||
const char *fingerprint = NULL;
|
const char *fingerprint;
|
||||||
|
|
||||||
fingerprint = libssh2_hostkey_hash(sshc->ssh_session,
|
fingerprint = libssh2_hostkey_hash(sshc->ssh_session,
|
||||||
LIBSSH2_HOSTKEY_HASH_MD5);
|
LIBSSH2_HOSTKEY_HASH_MD5);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user