From 0cd537732bb042a4f884a3d04f901929acbc07d4 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 18 Jun 2001 13:59:48 +0000 Subject: [PATCH] * client_init.c (_kadm5_init_any): Add casts to (gss_OID) in calls to gss library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13359 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/clnt/ChangeLog | 5 +++++ src/lib/kadm5/clnt/client_init.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/lib/kadm5/clnt/ChangeLog b/src/lib/kadm5/clnt/ChangeLog index a54918146..fd2789d13 100644 --- a/src/lib/kadm5/clnt/ChangeLog +++ b/src/lib/kadm5/clnt/ChangeLog @@ -1,3 +1,8 @@ +2001-06-18 Ezra Peisach + + * client_init.c (_kadm5_init_any): Add casts to (gss_OID) in calls + to gss library. + Sun Feb 18 17:32:53 2001 Ezra Peisach * client_rpc.c: Insure pointer argument type is same as passed diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index 2a895c014..7c19493be 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -457,7 +457,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, input_name.value = full_service_name; input_name.length = strlen((char *)input_name.value) + 1; gssstat = gss_import_name(&minor_stat, &input_name, - gss_nt_krb5_name, &gss_target); + (gss_OID) gss_nt_krb5_name, &gss_target); if (gssstat != GSS_S_COMPLETE) { code = KADM5_GSS_ERROR; goto error; @@ -467,7 +467,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, input_name.value = client_name; input_name.length = strlen((char *)input_name.value) + 1; gssstat = gss_import_name(&minor_stat, &input_name, - gss_nt_krb5_name, &gss_client); + (gss_OID) gss_nt_krb5_name, &gss_client); if (gssstat != GSS_S_COMPLETE) { code = KADM5_GSS_ERROR; goto error; @@ -488,7 +488,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, &minor_stat, gss_client_creds, gss_target, - gss_mech_krb5, + (gss_OID) gss_mech_krb5, GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG, 0, -- 2.26.2