*** cnv_tkt_skey.c.orig Tue Aug 5 19:23:21 2003 --- cnv_tkt_skey.c Wed Aug 6 12:25:14 2003 *************** *** 33,38 **** --- 33,40 ---- #include #include "krb524d.h" + #define KRB524_LITTLE_ENDIAN (1 != htonl(1)) + static int krb524d_debug = 0; static int *************** *** 359,366 **** data += 8; *(data++) = (char) life; /* issue time */ ! memcpy(data, (char *) &time_sec, 4); ! data += 4; (void) strcpy(data, sname); data += 1 + strlen(sname); (void) strcpy(data, sinstance); --- 361,368 ---- data += 8; *(data++) = (char) life; /* issue time */ ! KRB4_PUT32(data, time_sec, (KRB524_LITTLE_ENDIAN)); ! (void) strcpy(data, sname); data += 1 + strlen(sname); (void) strcpy(data, sinstance);