summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/rsa-md4.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/krb5/rsa-md4.h b/src/include/krb5/rsa-md4.h
index 71c4c93be..aef045c4b 100644
--- a/src/include/krb5/rsa-md4.h
+++ b/src/include/krb5/rsa-md4.h
@@ -15,9 +15,10 @@
#ifndef __KRB5_RSA_MD4_H__
#define __KRB5_RSA_MD4_H__
-/* 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)
+/* 16 u_char's in the digest */
+#define RSA_MD4_CKSUM_LENGTH 16
+/* des blocksize is 8, so this works nicely... */
+#define RSA_MD4_DES_CKSUM_LENGTH 16
extern krb5_checksum_entry
rsa_md4_cksumtable_entry,