From 971771719342d649b4654fc1fee3caecbf1955da Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 02:30:24 +0000 Subject: [PATCH] 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 --- src/include/ChangeLog | 5 +++++ src/include/k5-int.h | 4 ++-- 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 + * 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; -- 2.26.2