]> andersk Git - openssh.git/commitdiff
- deraadt@cvs.openbsd.org 2006/03/25 18:29:35
authordjm <djm>
Sun, 26 Mar 2006 03:25:19 +0000 (03:25 +0000)
committerdjm <djm>
Sun, 26 Mar 2006 03:25:19 +0000 (03:25 +0000)
     [auth-rsa.c authfd.c packet.c]
     needed casts (always will be needed)

ChangeLog
auth-rsa.c
authfd.c
packet.c

index f8950e334806273cbcd8e1b5bde072f7b3c17ef9..a990da7b3361ebac0475b4ba1b85342eab863647 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      [uidswap.c uuencode.c xmalloc.c]
      Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
      Theo nuked - our scripts to sync -portable need them in the files
+   - deraadt@cvs.openbsd.org 2006/03/25 18:29:35
+     [auth-rsa.c authfd.c packet.c]
+     needed casts (always will be needed)
 
 20060325
  - OpenBSD CVS Sync
index a906eb2d6c5df557227a309bb579ab7f12044a97..c331c267d21938c3d53a03a88ae6b86132507969 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rsa.c,v 1.66 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth-rsa.c,v 1.67 2006/03/25 18:29:35 deraadt Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -140,7 +140,7 @@ auth_rsa_challenge_dialog(Key *key)
        /* Wait for a response. */
        packet_read_expect(SSH_CMSG_AUTH_RSA_RESPONSE);
        for (i = 0; i < 16; i++)
-               response[i] = packet_get_char();
+               response[i] = (u_char)packet_get_char();
        packet_check_eom();
 
        success = PRIVSEP(auth_rsa_verify_response(key, challenge, response));
index 935143765c52e3420bce15447589f1a602b7339e..2654892d03053abfcc3809792e9f416cffb3f414 100644 (file)
--- a/authfd.c
+++ b/authfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfd.c,v 1.72 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: authfd.c,v 1.73 2006/03/25 18:29:35 deraadt Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -396,7 +396,7 @@ ssh_decrypt_challenge(AuthenticationConnection *auth,
                 * fatal error if the packet is corrupt.
                 */
                for (i = 0; i < 16; i++)
-                       response[i] = buffer_get_char(&buffer);
+                       response[i] = (u_char)buffer_get_char(&buffer);
        }
        buffer_free(&buffer);
        return success;
index 71da5454ebeef9ca580b0793cc64786538e0e70d..fceeef6661902d3853247af97acc326150f1b6a2 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.128 2006/03/25 13:17:02 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.129 2006/03/25 18:29:35 deraadt Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1549,7 +1549,7 @@ packet_send_ignore(int nbytes)
        for (i = 0; i < nbytes; i++) {
                if (i % 4 == 0)
                        rnd = arc4random();
-               packet_put_char(rnd & 0xff);
+               packet_put_char((u_char)rnd & 0xff);
                rnd >>= 8;
        }
 }
This page took 0.905346 seconds and 5 git commands to generate.