Fixed signed/unsigned assignment mismatches
authorKeith Vetter <keithv@fusion.com>
Wed, 22 Mar 1995 05:05:53 +0000 (05:05 +0000)
committerKeith Vetter <keithv@fusion.com>
Wed, 22 Mar 1995 05:05:53 +0000 (05:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5183 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/mk_req_ext.c
src/lib/krb5/krb/mk_safe.c
src/lib/krb5/krb/rd_safe.c

index cf426c66052b252e440d0b1b44e232cd6a74c95e..80fef45effe21d28e79b4824c46aee0e647da62d 100644 (file)
@@ -1,3 +1,8 @@
+Tue Mar 21 19:22:51 1995 Keith Vetter (keithv@fusion.com)
+
+       * mk_safe.c: fixed signed/unsigned mismatch.
+       * rd_safe.c: removed unused local variable currentime.
+        * mk_req_e.c: fixed signed/unsigned mismatch.
 Sat Mar 18 18:58:02 1995  John Gilmore  (gnu at toad.com)
 
        * bld_pr_ext.c, bld_princ.c:  Replace STDARG_PROTOTYPES with
index d30382fb8a2d49bd986b2d3259b537657a183843..8aac3917a8d6c37c46a23ed7b4a4e3783b293fd5 100644 (file)
@@ -148,7 +148,7 @@ krb5_mk_req_extended(context, auth_context, ap_req_options, in_data, in_creds,
            /* XXX Special hack for GSSAPI */
            checksum.checksum_type = 0x8003;
            checksum.length = in_data->length;
-           checksum.contents = in_data->data;
+           checksum.contents = (krb5_octet *) in_data->data;
         } else 
            if (retval = krb5_calculate_checksum(context, 
                                                 (*auth_context)->cksumtype, 
index 905e8a1e42d7aeb139c3ea3b5e9cc682dbf5a79a..528973d1c9a4a3fb6d0b65efb0576b51b37775b3 100644 (file)
@@ -66,8 +66,8 @@ krb5_mk_safe_basic(context, userdata, keyblock, replaydata, local_addr,
        return KRB5KRB_AP_ERR_INAPP_CKSUM;
 
     safemsg.user_data = *userdata;
-    safemsg.s_address = local_addr;
-    safemsg.r_address = remote_addr;
+    safemsg.s_address = (krb5_address *) local_addr;
+    safemsg.r_address = (krb5_address *) remote_addr;
 
     /* We should check too make sure one exists. */
     safemsg.timestamp  = replaydata->timestamp;
index f97ca201b537744928cc267d5a33798ab9fd74b5..7c0a94ec3a93c0282b1baf97af299f81da2a846b 100644 (file)
@@ -59,7 +59,6 @@ krb5_rd_safe_basic(context, inbuf, keyblock, recv_addr, sender_addr,
     krb5_checksum our_cksum, *his_cksum;
     krb5_octet zero_octet = 0;
     krb5_data *scratch;
-    krb5_timestamp currenttime;
 
     if (!krb5_is_krb_safe(inbuf))
        return KRB5KRB_AP_ERR_MSG_TYPE;