* cr_ciph.c: Include prot.h. KRB4_PUT32 -> KRB4_PUT32BE.
authorTom Yu <tlyu@mit.edu>
Tue, 23 Jan 2001 05:52:15 +0000 (05:52 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 23 Jan 2001 05:52:15 +0000 (05:52 +0000)
[missed one]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12933 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/cr_ciph.c

index a2bbdff5c4ddf6a820dfbe4909da0628c11e6e29..481cb7ee3366c9a450b94feeaf403131934feb5e 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #include "krb.h"
+#include "prot.h"
 #include "des.h"
 #include <string.h>
 
@@ -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);