summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-09-23 02:30:24 +0000
committerTheodore Tso <tytso@mit.edu>1995-09-23 02:30:24 +0000
commit971771719342d649b4654fc1fee3caecbf1955da (patch)
treece6df527902e3d2ab94222b11371330cc1cd37e5 /src
parent2a08d58dc59f11f0da4dbbdd86088b950877ddc8 (diff)
downloadkrb5-971771719342d649b4654fc1fee3caecbf1955da.tar.gz
krb5-971771719342d649b4654fc1fee3caecbf1955da.tar.xz
krb5-971771719342d649b4654fc1fee3caecbf1955da.zip
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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6835 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-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 78e05ca24..8f62806a5 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 1b2b35627..69349630b 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;