diff options
Diffstat (limited to 'authfd.c')
-rw-r--r-- | authfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.c,v 1.72 2006/03/25 13:17:01 djm Exp $ */ | 1 | /* $OpenBSD: authfd.c,v 1.73 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 |
@@ -396,7 +396,7 @@ ssh_decrypt_challenge(AuthenticationConnection *auth, | |||
396 | * fatal error if the packet is corrupt. | 396 | * fatal error if the packet is corrupt. |
397 | */ | 397 | */ |
398 | for (i = 0; i < 16; i++) | 398 | for (i = 0; i < 16; i++) |
399 | response[i] = buffer_get_char(&buffer); | 399 | response[i] = (u_char)buffer_get_char(&buffer); |
400 | } | 400 | } |
401 | buffer_free(&buffer); | 401 | buffer_free(&buffer); |
402 | return success; | 402 | return success; |