summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-04-20 21:57:59 +0000
committerTheodore Tso <tytso@mit.edu>1995-04-20 21:57:59 +0000
commite6066f9632299cf939a0e4ceaea6d65fae94fc6f (patch)
treef8de0c73ae74fb3e072065f6fa62fc30d09540d5 /src
parentc6dd5afda4d883e483e3e5e56aa0aebd69a1f850 (diff)
downloadkrb5-e6066f9632299cf939a0e4ceaea6d65fae94fc6f.tar.gz
krb5-e6066f9632299cf939a0e4ceaea6d65fae94fc6f.tar.xz
krb5-e6066f9632299cf939a0e4ceaea6d65fae94fc6f.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/asn.1/ChangeLog6
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode.c8
-rw-r--r--src/lib/krb5/asn.1/krbasn1.h8
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