diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-06-18 13:59:48 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-18 13:59:48 +0000 |
commit | 0cd537732bb042a4f884a3d04f901929acbc07d4 (patch) | |
tree | efb373cbf97e4e3ed943d661680e41480ae43508 /src/lib | |
parent | 0b207edfa23b0669fae10c39aa36f27d45c7e72a (diff) | |
download | krb5-0cd537732bb042a4f884a3d04f901929acbc07d4.tar.gz krb5-0cd537732bb042a4f884a3d04f901929acbc07d4.tar.xz krb5-0cd537732bb042a4f884a3d04f901929acbc07d4.zip |
* 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
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/kadm5/clnt/ChangeLog | 5 | ||||
-rw-r--r-- | 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 a549181465..fd2789d139 100644 --- a/src/lib/kadm5/clnt/ChangeLog +++ b/src/lib/kadm5/clnt/ChangeLog @@ -1,3 +1,8 @@ +2001-06-18 Ezra Peisach <epeisach@mit.edu> + + * 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 <epeisach@mit.edu> * 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 2a895c014d..7c19493be3 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, |