projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f4b3a4
)
* cr_ciph.c: Include prot.h. KRB4_PUT32 -> KRB4_PUT32BE.
author
Tom Yu
<tlyu@mit.edu>
Tue, 23 Jan 2001 05:52:15 +0000
(
05:52
+0000)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/src/lib/krb4/cr_ciph.c
b/src/lib/krb4/cr_ciph.c
index a2bbdff5c4ddf6a820dfbe4909da0628c11e6e29..481cb7ee3366c9a450b94feeaf403131934feb5e 100644
(file)
--- 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 <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_PUT32
BE
(ptr, kdc_time);
/* guarantee null padded encrypted data to multiple of 8 bytes */
memset(ptr, 0, 7);