summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_krb5.c30
-rw-r--r--src/util/sss_krb5.h2
2 files changed, 0 insertions, 32 deletions
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c
index 440edab8..d4fee42a 100644
--- a/src/util/sss_krb5.c
+++ b/src/util/sss_krb5.c
@@ -921,36 +921,6 @@ sss_krb5_residual_by_type(const char *full_location,
}
const char *
-sss_krb5_cc_file_path(const char *full_location)
-{
- enum sss_krb5_cc_type cc_type;
- const char *residual;
-
- cc_type = sss_krb5_get_type(full_location);
- residual = sss_krb5_residual_by_type(full_location, cc_type);
-
- switch(cc_type) {
-#ifdef HAVE_KRB5_CC_COLLECTION
- case SSS_KRB5_TYPE_KEYRING:
-#endif /* HAVE_KRB5_CC_COLLECTION */
- case SSS_KRB5_TYPE_FILE:
- return residual;
-#ifdef HAVE_KRB5_CC_COLLECTION
- case SSS_KRB5_TYPE_DIR:
- /* DIR::/run/user/tkt_foo */
- if (residual[0] == ':') {
- ++residual;
- }
- return residual;
-#endif /* HAVE_KRB5_CC_COLLECTION */
- case SSS_KRB5_TYPE_UNKNOWN:
- break;
- }
-
- return NULL;
-}
-
-const char *
sss_krb5_residual_check_type(const char *full_location,
enum sss_krb5_cc_type expected_type)
{
diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h
index aaf2a648..efde48b6 100644
--- a/src/util/sss_krb5.h
+++ b/src/util/sss_krb5.h
@@ -154,8 +154,6 @@ sss_krb5_get_type(const char *full_location);
const char *
sss_krb5_residual_by_type(const char *full_location, enum sss_krb5_cc_type type);
const char *
-sss_krb5_cc_file_path(const char *full_location);
-const char *
sss_krb5_residual_check_type(const char *full_location,
enum sss_krb5_cc_type expected_type);