Apply by doing:
cd /usr/src
patch -p0 < 002_sshskey.patch
And then rebuild and install ssh.
cd usr.bin/ssh
make obj
make depend
make
make install
Index: usr.bin/ssh/auth1.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/auth1.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- usr.bin/ssh/auth1.c 2000/10/11 20:27:23 1.6
+++ usr.bin/ssh/auth1.c 2000/11/10 01:04:40 1.7
@@ -10,7 +10,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth1.c,v 1.6 2000/10/11 20:27:23 markus Exp $");
+RCSID("$OpenBSD: auth1.c,v 1.7 2000/11/10 01:04:40 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -248,7 +248,7 @@
if (options.skey_authentication == 1) {
char *skeyinfo = NULL;
if (pw != NULL)
- skey_keyinfo(pw->pw_name);
+ skeyinfo = skey_keyinfo(pw->pw_name);
if (skeyinfo == NULL) {
debug("generating fake skeyinfo for %.100s.", luser);
skeyinfo = skey_fake_keyinfo(luser);