* checksum.c (krb5_dk_make_checksum): Cast 0x99 to char explicitly to silence warnings
authorKen Raeburn <raeburn@mit.edu>
Fri, 22 Jun 2001 03:21:31 +0000 (03:21 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 22 Jun 2001 03:21:31 +0000 (03:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13473 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/dk/ChangeLog
src/lib/crypto/dk/checksum.c

index af1ccab65c9d993b19cfec67e0c60a8d772e646d..6ae4da7c1230b0c5fe9cb8de468390cc4f7bcc2a 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-21  Ken Raeburn  <raeburn@mit.edu>
+
+       * checksum.c (krb5_dk_make_checksum): Cast 0x99 to char explicitly
+       to silence warnings.
+
 2001-04-10  Ken Raeburn  <raeburn@mit.edu>
 
        * checksum.c (krb5_dk_make_checksum): Add casts when mixing
index efa3f21721128de00958b50de318870bf460a026..1769b5cce625cdbdf26e5bc580be74729b6ded38 100644 (file)
@@ -81,7 +81,7 @@ krb5_dk_make_checksum(hash, key, usage, input, output)
     datain.data[2] = (usage>>8)&0xff;
     datain.data[3] = usage&0xff;
 
-    datain.data[4] = 0x99;
+    datain.data[4] = (char) 0x99;
 
     if ((ret = krb5_derive_key(enc, key, &kc, &datain)) != 0)
        goto cleanup;