* svc_auth_gss.c (svcauth_gss_import_name): Unused function deleted
authorKen Raeburn <raeburn@mit.edu>
Thu, 2 Nov 2006 03:13:31 +0000 (03:13 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 2 Nov 2006 03:13:31 +0000 (03:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18758 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/svc_auth_gss.c

index 78da340cb27b949db8b4ce1ca313a56ab88507b1..e2c0777b6c6c307059eb9b75599011c1a2fed107 100644 (file)
@@ -149,32 +149,6 @@ svcauth_gss_set_svc_name(gss_name_t name)
        return (TRUE);
 }
 
-static bool_t
-svcauth_gss_import_name(char *service)
-{
-       gss_name_t      name;
-       gss_buffer_desc namebuf;
-       OM_uint32       maj_stat, min_stat;
-
-       log_debug("in svcauth_gss_import_name()");
-
-       namebuf.value = service;
-       namebuf.length = strlen(service);
-
-       maj_stat = gss_import_name(&min_stat, &namebuf,
-                                  (gss_OID)gss_nt_service_name, &name);
-
-       if (maj_stat != GSS_S_COMPLETE) {
-               log_status("gss_import_name", maj_stat, min_stat);
-               return (FALSE);
-       }
-       if (svcauth_gss_set_svc_name(name) != TRUE) {
-               gss_release_name(&min_stat, &name);
-               return (FALSE);
-       }
-       return (TRUE);
-}
-
 static bool_t
 svcauth_gss_acquire_cred(void)
 {