Home
last modified time | relevance | path

Searched refs:fingerprint_b64 (Results 1 – 1 of 1) sorted by relevance

/curl/lib/vssh/
H A Dlibssh2.c659 char *fingerprint_b64 = NULL; in ssh_check_fingerprint() local
691 if(Curl_base64_encode(fingerprint, 32, &fingerprint_b64, in ssh_check_fingerprint()
698 if(!fingerprint_b64) { in ssh_check_fingerprint()
705 infof(data, "SSH SHA256 fingerprint: %s", fingerprint_b64); in ssh_check_fingerprint()
714 while((fingerprint_b64[b64_pos] != '=') && fingerprint_b64[b64_pos]) { in ssh_check_fingerprint()
722 strncmp(fingerprint_b64, pubkey_sha256, pub_pos)) { in ssh_check_fingerprint()
725 "Remote %s is not equal to %s", fingerprint_b64, pubkey_sha256); in ssh_check_fingerprint()
726 free(fingerprint_b64); in ssh_check_fingerprint()
732 free(fingerprint_b64); in ssh_check_fingerprint()

Completed in 17 milliseconds