diff options
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r-- | auth-rh-rsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c index 3070c9d41..a9f17ef83 100644 --- a/auth-rh-rsa.c +++ b/auth-rh-rsa.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: auth-rh-rsa.c,v 1.17 2000/10/03 18:03:03 markus Exp $"); | 16 | RCSID("$OpenBSD: auth-rh-rsa.c,v 1.18 2000/11/12 19:50:37 markus Exp $"); |
17 | 17 | ||
18 | #include "packet.h" | 18 | #include "packet.h" |
19 | #include "ssh.h" | 19 | #include "ssh.h" |
@@ -53,10 +53,10 @@ auth_rhosts_rsa(struct passwd *pw, const char *client_user, RSA *client_host_key | |||
53 | debug("Rhosts RSA authentication: canonical host %.900s", canonical_hostname); | 53 | debug("Rhosts RSA authentication: canonical host %.900s", canonical_hostname); |
54 | 54 | ||
55 | /* wrap the RSA key into a 'generic' key */ | 55 | /* wrap the RSA key into a 'generic' key */ |
56 | client_key = key_new(KEY_RSA); | 56 | client_key = key_new(KEY_RSA1); |
57 | BN_copy(client_key->rsa->e, client_host_key->e); | 57 | BN_copy(client_key->rsa->e, client_host_key->e); |
58 | BN_copy(client_key->rsa->n, client_host_key->n); | 58 | BN_copy(client_key->rsa->n, client_host_key->n); |
59 | found = key_new(KEY_RSA); | 59 | found = key_new(KEY_RSA1); |
60 | 60 | ||
61 | /* Check if we know the host and its host key. */ | 61 | /* Check if we know the host and its host key. */ |
62 | host_status = check_host_in_hostfile(SSH_SYSTEM_HOSTFILE, canonical_hostname, | 62 | host_status = check_host_in_hostfile(SSH_SYSTEM_HOSTFILE, canonical_hostname, |