diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 23:11:00 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 23:11:00 +1100 |
commit | d221ca6cc96082a27ae9b4a7a0600d8ac8b1b2d7 (patch) | |
tree | 99bff67361eaad7535bd3f5c3e24eb9d673b7fd7 /auth1.c | |
parent | 9ef95ddcaf41b2c66bc3c1efc1d71b2fe568e01a (diff) |
- markus@cvs.openbsd.org 2001/12/27 19:54:53
[auth1.c auth.h auth-rh-rsa.c]
auth_rhosts_rsa now accept generic keys.
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | RCSID("$OpenBSD: auth1.c,v 1.29 2001/12/27 18:22:16 markus Exp $"); | 13 | RCSID("$OpenBSD: auth1.c,v 1.30 2001/12/27 19:54:53 markus Exp $"); |
14 | 14 | ||
15 | #include "xmalloc.h" | 15 | #include "xmalloc.h" |
16 | #include "rsa.h" | 16 | #include "rsa.h" |
@@ -214,7 +214,7 @@ do_authloop(Authctxt *authctxt) | |||
214 | packet_integrity_check(plen, (4 + ulen) + 4 + elen + nlen, type); | 214 | packet_integrity_check(plen, (4 + ulen) + 4 + elen + nlen, type); |
215 | 215 | ||
216 | authenticated = auth_rhosts_rsa(pw, client_user, | 216 | authenticated = auth_rhosts_rsa(pw, client_user, |
217 | client_host_key->rsa); | 217 | client_host_key); |
218 | key_free(client_host_key); | 218 | key_free(client_host_key); |
219 | 219 | ||
220 | snprintf(info, sizeof info, " ruser %.100s", client_user); | 220 | snprintf(info, sizeof info, " ruser %.100s", client_user); |