aboutsummaryrefslogtreecommitdiffstats
path: root/pubkey_fingerprint.patch
blob: 4956fe71d403392f3d5569de7cd6393982cadd41 (plain)
1
2
3
4
5
6
7
8
9
10
--- auth2-pubkey.c	2013-12-31 02:25:41.000000000 +0100
+++ auth2-pubkey.c	2014-08-06 03:08:06.841409407 +0200
@@ -409,6 +409,7 @@
 			fp = key_fingerprint(found, SSH_FP_MD5, SSH_FP_HEX);
 			debug("matching key found: file %s, line %lu %s %s",
 			    file, linenum, key_type(found), fp);
+			do_pam_putenv("SSH_FINGERPRINT", fp);
 			free(fp);
 			break;
 		}