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 a906eb2d6..c331c267d 100644 --- a/auth-rsa.c +++ b/auth-rsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth-rsa.c,v 1.66 2006/03/25 13:17:01 djm Exp $ */ | 1 | /* $OpenBSD: auth-rsa.c,v 1.67 2006/03/25 18:29:35 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -140,7 +140,7 @@ auth_rsa_challenge_dialog(Key *key) | |||
140 | /* Wait for a response. */ | 140 | /* Wait for a response. */ |
141 | packet_read_expect(SSH_CMSG_AUTH_RSA_RESPONSE); | 141 | packet_read_expect(SSH_CMSG_AUTH_RSA_RESPONSE); |
142 | for (i = 0; i < 16; i++) | 142 | for (i = 0; i < 16; i++) |
143 | response[i] = packet_get_char(); | 143 | response[i] = (u_char)packet_get_char(); |
144 | packet_check_eom(); | 144 | packet_check_eom(); |
145 | 145 | ||
146 | success = PRIVSEP(auth_rsa_verify_response(key, challenge, response)); | 146 | success = PRIVSEP(auth_rsa_verify_response(key, challenge, response)); |