Home | History | Annotate | Download | only in lib

Lines Matching full:fingerprint

656   const char *fingerprint = libssh2_hostkey_hash(sshc->ssh_session,
659 if(fingerprint) {
660 /* The fingerprint points to static storage (!), don't free() it. */
662 snprintf(&md5buffer[i*2], 3, "%02x", (unsigned char) fingerprint[i]);
663 infof(data, "SSH MD5 fingerprint: %s\n", md5buffer);
666 /* Before we authenticate we check the hostkey's MD5 fingerprint
667 * against a known fingerprint, if available.
670 if(!fingerprint || !strequal(md5buffer, pubkey_md5)) {
671 if(fingerprint)
673 "Denied establishing ssh session: mismatch md5 fingerprint. "
677 "Denied establishing ssh session: md5 fingerprint not available");
744 * Before we authenticate we should check the hostkey's fingerprint