* client_init.c (_kadm5_init_any): Add casts to (gss_OID) in calls
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 13:59:48 +0000 (13:59 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 13:59:48 +0000 (13:59 +0000)
to gss library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13359 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/client_init.c

index a5491814654b12582a98b5a2218839ac1588ddf0..fd2789d13963fc527f77e828e75db64bf46a3e72 100644 (file)
@@ -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
index 2a895c014d292135cbc7381c43a13c5f0313f2ff..7c19493be3df78cdd05a821cdd24bc16ec03f838 100644 (file)
@@ -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,