From: Jeffrey Altman Date: Tue, 23 Sep 2003 18:46:25 +0000 (+0000) Subject: Modify the declaration of the CREDENTIALS structure to support the additional X-Git-Tag: krb5-1.4-beta1~738 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d8532fab42a7791b7bb6ab64b6164e742d86ad90;p=krb5.git Modify the declaration of the CREDENTIALS structure to support the additional 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 --- diff --git a/src/include/kerberosIV/krb.h b/src/include/kerberosIV/krb.h index 26ac08647..a79df13b6 100644 --- a/src/include/kerberosIV/krb.h +++ b/src/include/kerberosIV/krb.h @@ -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;