Displaying 1 result from an estimated 1 matches for "real_info".
Did you mean:
read_uinfo
2002 Jan 29
2
Key fingerprint logging
...{
diff -u5 openssh-3.0.2p1.orig/auth2.c openssh-3.0.2p1/auth2.c
--- openssh-3.0.2p1.orig/auth2.c Tue Nov 13 13:46:19 2001
+++ openssh-3.0.2p1/auth2.c Tue Jan 29 15:21:58 2002
@@ -58,10 +58,14 @@
extern int session_id2_len;
static Authctxt *x_authctxt = NULL;
static int one = 1;
+static char real_info[1024] = " ssh2";
+static char *info = real_info + 5;
+static int info_size = sizeof(real_info)-5;
+
typedef struct Authmethod Authmethod;
struct Authmethod {
char *name;
int (*userauth)(Authctxt *authctxt);
int *enabled;
@@ -261,11 +265,11 @@
NULL))
authenticated = 0;
#e...