=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/hostfile.c,v retrieving revision 1.28 retrieving revision 1.28.2.1 diff -u -r1.28 -r1.28.2.1 --- src/usr.bin/ssh/hostfile.c 2001/06/25 08:25:37 1.28 +++ src/usr.bin/ssh/hostfile.c 2002/03/07 17:37:46 1.28.2.1 @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: hostfile.c,v 1.28 2001/06/25 08:25:37 markus Exp $"); +RCSID("$OpenBSD: hostfile.c,v 1.28.2.1 2002/03/07 17:37:46 jason Exp $"); #include "packet.h" #include "match.h" @@ -49,7 +49,7 @@ * pointer over the key. Skips any whitespace at the beginning and at end. */ -static int +int hostfile_read_key(char **cpp, u_int *bitsp, Key *ret) { char *cp; @@ -69,17 +69,6 @@ *cpp = cp; *bitsp = key_size(ret); return 1; -} - -int -auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n) -{ - Key *k = key_new(KEY_RSA1); - int ret = hostfile_read_key(cpp, bitsp, k); - BN_copy(e, k->rsa->e); - BN_copy(n, k->rsa->n); - key_free(k); - return ret; } static int