From f3cb5cad28df17a80dbc8d67ac843f2652678261 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 23 Jan 2001 05:52:15 +0000 Subject: [PATCH] * 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 --- src/lib/krb4/cr_ciph.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.26.2