summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@toad.com>1995-01-23 02:21:48 +0000
committerJohn Gilmore <gnu@toad.com>1995-01-23 02:21:48 +0000
commit5a70939d5041ac6a71e3956a6a7ed346fd22c734 (patch)
treea41033cb276f1cca23df12a3156bba88eedac6e5 /src/include
parent261758d2d82af5aee7651107a9bfccb5dd6bab02 (diff)
* preauth.h, rsa-md5.h: Protect against multiple inclusion
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4832 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog4
-rw-r--r--src/include/krb5/preauth.h5
-rw-r--r--src/include/krb5/rsa-md5.h4
3 files changed, 12 insertions, 1 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 2ae4419dbb..fd52961bc3 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jan 22 18:17:06 1995 John Gilmore (gnu@cygnus.com)
+
+ * preauth.h, rsa-md5.h: Protect against multiple inclusion.
+
Fri Jan 13 15:23:47 1995 Chris Provenzano (proven@mit.edu)
* Added krb5_context to all krb5_routines
diff --git a/src/include/krb5/preauth.h b/src/include/krb5/preauth.h
index cd59af748f..a22e196b8f 100644
--- a/src/include/krb5/preauth.h
+++ b/src/include/krb5/preauth.h
@@ -3,7 +3,7 @@
*
* (Originally written by Glen Machin at Sandia Labs.)
*
- * Copyright 1992 by the Massachusetts Institute of Technology.
+ * Copyright 1992, 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
@@ -27,6 +27,8 @@
* any purpose. It is provided "as is" without express or implied warranty.
*
*/
+#ifndef KRB5_PREAUTH__
+#define KRB5_PREAUTH__
#define MAX_PREAUTH_SIZE 20 /* Maximum size of PreAuthenticator.data */
@@ -81,3 +83,4 @@ krb5_error_code verify_securid_padata
PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
krb5_data *data));
+#endif /* KRB5_PREAUTH__ */
diff --git a/src/include/krb5/rsa-md5.h b/src/include/krb5/rsa-md5.h
index 7278183507..ee180bf65c 100644
--- a/src/include/krb5/rsa-md5.h
+++ b/src/include/krb5/rsa-md5.h
@@ -37,6 +37,9 @@
***********************************************************************
*/
+#ifndef KRB5_RSA_MD5__
+#define KRB5_RSA_MD5__
+
/* Data structure for MD5 (Message-Digest) computation */
typedef struct {
krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
@@ -62,3 +65,4 @@ extern krb5_checksum_entry
rsa_md5_cksumtable_entry,
rsa_md5_des_cksumtable_entry;
+#endif /* KRB5_RSA_MD5__ */