From: Tom Yu Date: Tue, 23 Jan 2001 05:52:15 +0000 (+0000) Subject: * cr_ciph.c: Include prot.h. KRB4_PUT32 -> KRB4_PUT32BE. X-Git-Tag: krb5-1.3-alpha1~1696 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3cb5cad28df17a80dbc8d67ac843f2652678261;p=krb5.git * cr_ciph.c: Include prot.h. KRB4_PUT32 -> KRB4_PUT32BE. [missed one] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12933 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/cr_ciph.c b/src/lib/krb4/cr_ciph.c index a2bbdff5c..481cb7ee3 100644 --- a/src/lib/krb4/cr_ciph.c +++ b/src/lib/krb4/cr_ciph.c @@ -25,6 +25,7 @@ */ #include "krb.h" +#include "prot.h" #include "des.h" #include @@ -117,7 +118,7 @@ create_ciph(c, session, service, instance, realm, life, kvno, tkt, memcpy(ptr, tkt->dat, (size_t)tkt->length); ptr += tkt->length; - KRB4_PUT32(ptr, kdc_time); + KRB4_PUT32BE(ptr, kdc_time); /* guarantee null padded encrypted data to multiple of 8 bytes */ memset(ptr, 0, 7);