diff options
author | Simo Sorce <simo@redhat.com> | 2013-08-30 20:55:38 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-09-09 15:11:46 -0400 |
commit | 0dbcc64a5cee58d5fffaaef923302d9c7a951a7d (patch) | |
tree | 38ac92c96a8b2f79b2a15c0bf5e5d54131fa4182 /src | |
parent | d20a5a74666413cadbf64c02eb656a5a3b4bb1de (diff) | |
download | sssd-0dbcc64a5cee58d5fffaaef923302d9c7a951a7d.tar.gz sssd-0dbcc64a5cee58d5fffaaef923302d9c7a951a7d.tar.bz2 sssd-0dbcc64a5cee58d5fffaaef923302d9c7a951a7d.zip |
krb5: Remove unused function
Related:
https://fedorahosted.org/sssd/ticket/2061
Diffstat (limited to 'src')
-rw-r--r-- | src/util/sss_krb5.c | 30 | ||||
-rw-r--r-- | src/util/sss_krb5.h | 2 |
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); |