instead of an incorrect pointer cast.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15072
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-12-30 Ken Raeburn <raeburn@mit.edu>
+
+ * kerberos_v4.c (process_v4): Use a temporary variable for the
+ current time instead of an incorrect pointer cast.
+
2002-12-12 Tom Yu <tlyu@mit.edu>
* kerberos_v4.c (kerberos_v4): Use krb_get_err_text() instead of
struct sockaddr_in client_sockaddr;
krb5_address *addr = client_fulladdr->address;
krb5_error_code retval;
+ krb5_timestamp now;
KTEXT_ST v4_pkt;
char *lrealm;
return KRB5KDC_ERR_BAD_PVNO;
}
- if ((retval = krb5_timeofday(kdc_context, (krb5_timestamp *) &kerb_time.tv_sec)))
+
+ if ((retval = krb5_timeofday(kdc_context, &now)))
return(retval);
+ kerb_time.tv_sec = now;
if (!*local_realm) { /* local-realm name already set up */
lrealm = master_princ->realm.data;