dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0005-providers-krb5-got-rid-of-unused-code.patch

0d441c
From 1d4a7ffdcf8b303a40058db49d5e1be4bfb8271a Mon Sep 17 00:00:00 2001
0d441c
From: Alexey Tikhonov <atikhono@redhat.com>
0d441c
Date: Mon, 9 Dec 2019 17:20:28 +0100
0d441c
Subject: [PATCH 5/7] providers/krb5: got rid of unused code
0d441c
MIME-Version: 1.0
0d441c
Content-Type: text/plain; charset=UTF-8
0d441c
Content-Transfer-Encoding: 8bit
0d441c
0d441c
Reviewed-by: Michal Židek <mzidek@redhat.com>
0d441c
---
0d441c
 src/providers/krb5/krb5_common.c | 10 ----------
0d441c
 src/providers/krb5/krb5_common.h |  7 -------
0d441c
 2 files changed, 17 deletions(-)
0d441c
0d441c
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c
0d441c
index bfda561c1..5c11c347b 100644
0d441c
--- a/src/providers/krb5/krb5_common.c
0d441c
+++ b/src/providers/krb5/krb5_common.c
0d441c
@@ -1133,16 +1133,6 @@ void remove_krb5_info_files_callback(void *pvt)
0d441c
     talloc_free(ctx);
0d441c
 }
0d441c
 
0d441c
-void krb5_finalize(struct tevent_context *ev,
0d441c
-                   struct tevent_signal *se,
0d441c
-                   int signum,
0d441c
-                   int count,
0d441c
-                   void *siginfo,
0d441c
-                   void *private_data)
0d441c
-{
0d441c
-    orderly_shutdown(0);
0d441c
-}
0d441c
-
0d441c
 errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx,
0d441c
                             struct sss_domain_info *dom, const char *username,
0d441c
                             const char *user_dom, char **_upn)
0d441c
diff --git a/src/providers/krb5/krb5_common.h b/src/providers/krb5/krb5_common.h
0d441c
index cc9313115..493d12e5f 100644
0d441c
--- a/src/providers/krb5/krb5_common.h
0d441c
+++ b/src/providers/krb5/krb5_common.h
0d441c
@@ -196,13 +196,6 @@ int krb5_service_init(TALLOC_CTX *memctx, struct be_ctx *ctx,
0d441c
 
0d441c
 void remove_krb5_info_files_callback(void *pvt);
0d441c
 
0d441c
-void krb5_finalize(struct tevent_context *ev,
0d441c
-                   struct tevent_signal *se,
0d441c
-                   int signum,
0d441c
-                   int count,
0d441c
-                   void *siginfo,
0d441c
-                   void *private_data);
0d441c
-
0d441c
 errno_t remove_krb5_info_files(TALLOC_CTX *mem_ctx, const char *realm);
0d441c
 
0d441c
 errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx,
0d441c
-- 
0d441c
2.20.1
0d441c