Modify the declaration of the CREDENTIALS structure to support the additional
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 23 Sep 2003 18:46:25 +0000 (18:46 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 23 Sep 2003 18:46:25 +0000 (18:46 +0000)
address field used on Windows.

ticket: 1586
status: open
owner: jaltman@mit.edu
target_version: 1.3.2
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15820 dc483132-0cff-0310-8789-dd5450dbe970

src/include/kerberosIV/krb.h

index 26ac08647266f4c78d838deca6147a7a7e746618..a79df13b6b4a29c6d2b584262bcfaa28fa23a719 100644 (file)
@@ -122,6 +122,7 @@ extern const char * const krb_err_txt[MAX_KRB_ERRORS];
 #define                REALM_SZ        40
 #define                SNAME_SZ        40
 #define                INST_SZ         40
+#define     ADDR_SZ     40
 /*
  * NB: This overcounts due to NULs.
  */
@@ -209,6 +210,9 @@ struct credentials {
     KRB_UINT32 address;                        /* Address in ticket */
     KRB_UINT32 stk_type;               /* string_to_key function needed */
 #endif
+#ifdef _WIN32
+    char    address[ADDR_SZ];   /* Address in ticket */
+#endif
 };
 
 typedef struct credentials CREDENTIALS;