From 9ee474fa88a8bb912a62264c223e4d6ca56b0dc2 Mon Sep 17 00:00:00 2001 From: Geoffrey King Date: Wed, 22 Jul 1998 04:31:50 +0000 Subject: [PATCH] ovsec_kadmd.c (main): Cast gss_nt_krb5_name to gss_OID to avoid compiler warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10714 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/ChangeLog | 5 +++++ src/kadmin/server/ovsec_kadmd.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index d27ceb1d8..22f8214bd 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 22 00:28:57 1998 Geoffrey King + + * ovsec_kadmd.c (main): Cast gss_nt_krb5_name to + gss_OID to avoid compiler warnings. + Tue Jul 21 16:36:51 1998 Geoffrey King * ovsec_kadmd.c: Call krb5_klog_reopen in kadm_svc_run diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index 3012b0459..6ac8709c7 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -126,7 +126,7 @@ int main(int argc, char *argv[]) names[0].name = names[1].name = names[2].name = names[3].name = NULL; names[0].type = names[1].type = names[2].type = names[3].type = - gss_nt_krb5_name; + (gss_OID) gss_nt_krb5_name; #ifdef PURIFY purify_start_batch(); @@ -410,12 +410,12 @@ int main(int argc, char *argv[]) /* if set_names succeeded, this will too */ in_buf.value = names[1].name; in_buf.length = strlen(names[1].name) + 1; - (void) gss_import_name(&OMret, &in_buf, gss_nt_krb5_name, + (void) gss_import_name(&OMret, &in_buf, (gss_OID) gss_nt_krb5_name, &gss_changepw_name); if (oldnames) { in_buf.value = names[3].name; in_buf.length = strlen(names[3].name) + 1; - (void) gss_import_name(&OMret, &in_buf, gss_nt_krb5_name, + (void) gss_import_name(&OMret, &in_buf, (gss_OID) gss_nt_krb5_name, &gss_oldchangepw_name); } -- 2.26.2