From e6066f9632299cf939a0e4ceaea6d65fae94fc6f Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 20 Apr 1995 21:57:59 +0000 Subject: [PATCH] Move the define of BACKWARDS_BITMASK_COMPAT to asn1_k_decode.c, since it doesn't #include krbasn1. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5409 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/asn.1/ChangeLog | 6 ++++++ src/lib/krb5/asn.1/asn1_k_decode.c | 8 ++++++++ src/lib/krb5/asn.1/krbasn1.h | 8 -------- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index 87eb0421d..6cbd87aa7 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,9 @@ +Thu Apr 20 17:41:24 1995 Theodore Y. Ts'o (tytso@dcl) + + * asn1_k_decode.c, krbasn1.h: Move the define of + BACKWARDS_BITMASK_COMPAT to asn1_k_decode.c, since it + doesn't #include krbasn1.h + Tue Apr 18 21:46:30 1995 Theodore Y. Ts'o (tytso@dcl) * asn1_k_decode.c (asn1_decode_krb5_flags): Make the function diff --git a/src/lib/krb5/asn.1/asn1_k_decode.c b/src/lib/krb5/asn.1/asn1_k_decode.c index 2100b4558..b25e5e7fc 100644 --- a/src/lib/krb5/asn.1/asn1_k_decode.c +++ b/src/lib/krb5/asn.1/asn1_k_decode.c @@ -21,6 +21,14 @@ * or implied warranty. */ +/* + * The hand-coded parser used in the Beta 4 distribution didn't + * reverse the order of the bit string fields. This define allows partial + * interoperability with the Beta 4 distribution by doing a bit reversal + * on bitfields which have bits set in the high 16 bits. + */ +#define BACKWARD_BITMASK_COMPAT + #include "asn1_k_decode.h" #include "asn1_decode.h" #include "asn1_get.h" diff --git a/src/lib/krb5/asn.1/krbasn1.h b/src/lib/krb5/asn.1/krbasn1.h index ec44baae1..a33f23d19 100644 --- a/src/lib/krb5/asn.1/krbasn1.h +++ b/src/lib/krb5/asn.1/krbasn1.h @@ -19,14 +19,6 @@ */ #define KRB5_ENCKRB5KDCREPPART_COMPAT -/* - * The hand-coded parser used in the Beta 4 distribution didn't - * reverse the order of the bit string fields. This define allows partial - * interoperability with the Beta 4 distribution by doing a bit reversal - * on bitfields which have bits set in the high 16 bits. - */ -#define BACKWARD_BITMASK_COMPAT - /* * If KRB5_MSGTYPE_STRICT is defined, then be strict about checking * the msgtype fields. Unfortunately, there old versions of Kerberos -- 2.26.2