From: Theodore Tso Date: Thu, 20 Apr 1995 21:57:59 +0000 (+0000) Subject: Move the define of BACKWARDS_BITMASK_COMPAT to asn1_k_decode.c, since X-Git-Tag: krb5-1.0-beta5~337 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6066f9632299cf939a0e4ceaea6d65fae94fc6f;p=krb5.git 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 --- 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