summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:25:19 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:25:19 +1100
commit8ba29fe72d68c6044b0383bc56931f05f8f35b68 (patch)
tree6197ef3dec8aa58ba7999d5e6d2a0c49bfc516b4 /authfd.c
parent48c4ed2b78a831b068529eefd8a002c431a76232 (diff)
- deraadt@cvs.openbsd.org 2006/03/25 18:29:35
[auth-rsa.c authfd.c packet.c] needed casts (always will be needed)
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfd.c b/authfd.c
index 935143765..2654892d0 100644
--- a/authfd.c
+++ b/authfd.c
@@ -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;