From: Theodore Tso Date: Sat, 23 Sep 1995 03:19:15 +0000 (+0000) Subject: gss-clie.c: turned const_gss_OID into const gss_OID. X-Git-Tag: krb5-1.0-beta6~1027 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=60e68cccbdba9e1ff45a2866276866edf96cfd2f;p=krb5.git gss-clie.c: turned const_gss_OID into const gss_OID. gss-misc.c: needed more includes. gss.c: needed more includes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6837 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/gss/changelo b/src/windows/gss/changelo index 174327a7c..60ae643f7 100644 --- a/src/windows/gss/changelo +++ b/src/windows/gss/changelo @@ -1,3 +1,9 @@ +Wed Sep 13 11:07:45 1995 Keith Vetter (keithv@fusion.com) + + * gss-clie.c: turned const_gss_OID into const gss_OID. + * gss-misc.c: needed more includes. + * gss.c: needed more includes. + Fri Apr 28 17:07:01 1995 Keith Vetter (keithv@fusion.com) * gss-misc.c: bug with reading 4 bytes into a 2 byte entity. diff --git a/src/windows/gss/gss-clie.c b/src/windows/gss/gss-clie.c index 696b49a2e..3a6c34266 100644 --- a/src/windows/gss/gss-clie.c +++ b/src/windows/gss/gss-clie.c @@ -29,10 +29,10 @@ static const gss_OID_desc oids[] = { {10, "\052\206\110\206\367\022\001\002\001\004"}, }; -const_gss_OID gss_nt_user_name = oids+0; -const_gss_OID gss_nt_machine_uid_name = oids+1; -const_gss_OID gss_nt_string_uid_name = oids+2; -const_gss_OID gss_nt_service_name = oids+3; +const gss_OID_desc * gss_nt_user_name = oids+0; +const gss_OID_desc * gss_nt_machine_uid_name = oids+1; +const gss_OID_desc * gss_nt_string_uid_name = oids+2; +const gss_OID_desc * gss_nt_service_name = oids+3; int gss (char *host, char *name, char *msg, int port) @@ -212,7 +212,7 @@ client_establish_context (int s, char *sname, gss_ctx_id_t *gss_context) send_tok.value = sname; send_tok.length = strlen(sname) + 1; maj_stat = gss_import_name(&min_stat, &send_tok, - gss_nt_service_name, &target_name); + (gss_OID) gss_nt_service_name, &target_name); if (maj_stat != GSS_S_COMPLETE) { display_status("parsing name", maj_stat, min_stat); return -1; diff --git a/src/windows/gss/gss-misc.c b/src/windows/gss/gss-misc.c index 592ecc7c0..8cc27c22c 100644 --- a/src/windows/gss/gss-misc.c +++ b/src/windows/gss/gss-misc.c @@ -19,10 +19,11 @@ * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ - #include "gss.h" +#include #include #include +#include /*+ * Function: send_token @@ -161,7 +162,7 @@ static void display_status_1(char *m, OM_uint32 code, int type) { OM_uint32 maj_stat, min_stat; gss_buffer_desc msg; - int msg_ctx; + OM_uint32 msg_ctx; msg_ctx = 0; while (1) { diff --git a/src/windows/gss/gss.c b/src/windows/gss/gss.c index 9708a8568..ea7782f09 100644 --- a/src/windows/gss/gss.c +++ b/src/windows/gss/gss.c @@ -8,6 +8,7 @@ ***************************************************************************/ #include #include +#include #include "gss.h" #define GSS_CONNECT_NAME 102