Change length field in krb5_alt_method and krb5_etype_info_entry to be
authorTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 02:30:24 +0000 (02:30 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 02:30:24 +0000 (02:30 +0000)
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
src/include/k5-int.h

index 78e05ca24d2fe3e8c62c72834c7d54312b53ed07..8f62806a5ebb567088f16e4f3b4f6028c7fbdb3e 100644 (file)
@@ -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.
index 1b2b35627d4995a5d911cc88eee6e587e5064d27..69349630bc6ee09afdaf59b0113f129d9916083d 100644 (file)
@@ -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;