From 60e68cccbdba9e1ff45a2866276866edf96cfd2f Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 03:19:15 +0000 Subject: [PATCH] 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 --- src/windows/gss/changelo | 6 ++++++ src/windows/gss/gss-clie.c | 10 +++++----- src/windows/gss/gss-misc.c | 5 +++-- src/windows/gss/gss.c | 1 + 4 files changed, 15 insertions(+), 7 deletions(-) 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 -- 2.26.2