diff options
Diffstat (limited to 'auth-rsa.c')
-rw-r--r-- | auth-rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-rsa.c b/auth-rsa.c index 1d74a79cd..4403c1490 100644 --- a/auth-rsa.c +++ b/auth-rsa.c | |||
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$OpenBSD: auth-rsa.c,v 1.48 2001/12/27 20:39:58 markus Exp $"); | 17 | RCSID("$OpenBSD: auth-rsa.c,v 1.49 2001/12/28 12:14:27 markus Exp $"); |
18 | 18 | ||
19 | #include <openssl/rsa.h> | 19 | #include <openssl/rsa.h> |
20 | #include <openssl/md5.h> | 20 | #include <openssl/md5.h> |
@@ -94,7 +94,7 @@ auth_rsa_challenge_dialog(RSA *pk) | |||
94 | packet_read_expect(&plen, SSH_CMSG_AUTH_RSA_RESPONSE); | 94 | packet_read_expect(&plen, SSH_CMSG_AUTH_RSA_RESPONSE); |
95 | for (i = 0; i < 16; i++) | 95 | for (i = 0; i < 16; i++) |
96 | response[i] = packet_get_char(); | 96 | response[i] = packet_get_char(); |
97 | packet_done(); | 97 | packet_check_eom(); |
98 | 98 | ||
99 | /* The response is MD5 of decrypted challenge plus session id. */ | 99 | /* The response is MD5 of decrypted challenge plus session id. */ |
100 | len = BN_num_bytes(challenge); | 100 | len = BN_num_bytes(challenge); |