From 5a70939d5041ac6a71e3956a6a7ed346fd22c734 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Mon, 23 Jan 1995 02:21:48 +0000 Subject: [PATCH] * preauth.h, rsa-md5.h: Protect against multiple inclusion git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4832 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 4 ++++ src/include/krb5/preauth.h | 5 ++++- src/include/krb5/rsa-md5.h | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 2ae4419db..fd52961bc 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 cd59af748..a22e196b8 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 727818350..ee180bf65 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__ */ -- 2.26.2