summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/sha/shs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/sha/shs.h')
-rw-r--r--src/lib/crypto/sha/shs.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/crypto/sha/shs.h b/src/lib/crypto/sha/shs.h
index 77b4ff250e..01acddb825 100644
--- a/src/lib/crypto/sha/shs.h
+++ b/src/lib/crypto/sha/shs.h
@@ -1,21 +1,20 @@
#ifndef _SHS_DEFINED
-#include <krb5.h>
+#include <k5-int.h>
#define _SHS_DEFINED
/* Some useful types */
typedef krb5_octet BYTE;
-typedef krb5_ui_4 LONG;
-/* Exit status of functions. */
+/* Old DOS/Windows compilers are case-insensitive */
+#if !defined(_MSDOS) && !defined(_WIN32)
+typedef krb5_ui_4 LONG;
+#endif
-#define OK 0
-#define ERROR -1
/* Define the following to use the updated SHS implementation */
-
#define NEW_SHS /**/
/* The SHS block size and message digest sizes, in bytes */