search for: old_rsa

Displaying 1 result from an estimated 1 matches for "old_rsa".

Did you mean: old_rsp
2002 Jan 29
2
Key fingerprint logging
...{ /* Wrong response. */ @@ -249,10 +249,19 @@ * authentication to be rejected. * Break out of the loop if authentication was successful; * otherwise continue searching. */ authenticated = 1; + + if (options.log_key_fingerprint == 1) { + Key *k = key_new(KEY_RSA); + RSA *old_rsa = k->rsa; + k->rsa = pk; + snprintf(info,info_size," fp %s",key_fingerprint(k,SSH_FP_MD5,SSH_FP_HEX)); + k->rsa = old_rsa; + key_free(k); + } break; } /* Restore the privileged uid. */ restore_uid(); diff -u5 openssh-3.0.2p1.orig/auth.h openssh-3.0.2p1/auth.h...