summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-02-13 15:58:08 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-02-13 15:58:08 +0000
commitd98edb1f2da9c27f82782816992d34d8bb10b44a (patch)
tree86d0357536c47c4dcc39d160a8e8f230b0406136 /src/include
parent659f200b6101eb918a0a8fc18d5d736ddfb85ee5 (diff)
downloadkrb5-d98edb1f2da9c27f82782816992d34d8bb10b44a.tar.gz
krb5-d98edb1f2da9c27f82782816992d34d8bb10b44a.tar.xz
krb5-d98edb1f2da9c27f82782816992d34d8bb10b44a.zip
change lengths to include the count
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1690 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/rsa-md4.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/include/krb5/rsa-md4.h b/src/include/krb5/rsa-md4.h
index c670db482..2aab8f2a3 100644
--- a/src/include/krb5/rsa-md4.h
+++ b/src/include/krb5/rsa-md4.h
@@ -3,7 +3,8 @@
* $Author$
* $Id$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -15,9 +16,12 @@
* md4.h from RFC1186
*
* $Log$
- * Revision 5.3 1991/01/03 16:54:49 jtkohl
- * add encrypted version entries
+ * Revision 5.4 1991/02/13 15:58:08 jtkohl
+ * change lengths to include the count
*
+ * Revision 5.3 91/01/03 16:54:49 jtkohl
+ * add encrypted version entries
+ *
* Revision 5.2 90/11/20 10:23:54 jtkohl
* don't need types defined here, see <encryption.h>
*
@@ -36,8 +40,9 @@
#ifndef KRB5_RSA_MD4__
#define KRB5_RSA_MD4__
-#define RSA_MD4_CKSUM_LENGTH (4*sizeof(krb5_int32))
-#define RSA_MD4_DES_CKSUM_LENGTH (4*sizeof(krb5_int32))
+/* 4 words of buffer, plus 8 bytes of count */
+#define RSA_MD4_CKSUM_LENGTH (4*sizeof(krb5_int32)+8)
+#define RSA_MD4_DES_CKSUM_LENGTH (4*sizeof(krb5_int32)+8)
extern krb5_checksum_entry
rsa_md4_cksumtable_entry,