summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/ChangeLog5
-rw-r--r--src/include/k5-int.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 78e05ca24d..8f62806a5e 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,5 +1,10 @@
Fri Sep 22 19:42:47 1995 Theodore Y. Ts'o <tytso@dcl>
+ * k5-int.h: Change length field in krb5_alt_method and
+ krb5_etype_info_entry to be an int, instead of an int32.
+ This allows the ASN.1 length parsing routines to work
+ properly.
+
* k5-int.h: (from Keith Vetter's windows changes); define
THREEPARAMOPEN and prototype for sscanf. Also add #define
for strncasecmp() to the microsoft's strnicmp() function.
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 1b2b35627d..69349630bc 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -462,7 +462,7 @@ int win_socket_initialize();
typedef struct _krb5_alt_method {
krb5_magic magic;
krb5_int32 method;
- krb5_int32 length;
+ int length;
krb5_octet *data;
} krb5_alt_method;
@@ -474,7 +474,7 @@ typedef struct _krb5_alt_method {
typedef struct _krb5_etype_info_entry {
krb5_magic magic;
krb5_int32 etype;
- krb5_int32 length;
+ int length;
krb5_octet *salt;
} krb5_etype_info_entry;