Skip to content

Commit

Permalink
KRB5: cosmetics
Browse files Browse the repository at this point in the history
Remove non existent / private functions from a header.
  • Loading branch information
alexey-tikhonov committed Dec 4, 2024
1 parent c6ee04b commit 9cf171a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/providers/krb5/krb5_ccache.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static errno_t sss_destroy_ccache(struct sss_krb5_ccache *cc)
return ret;
}

errno_t sss_krb5_cc_destroy(const char *ccname)
static errno_t sss_krb5_cc_destroy(const char *ccname)
{
struct sss_krb5_ccache *cc = NULL;
TALLOC_CTX *tmp_ctx;
Expand Down
5 changes: 0 additions & 5 deletions src/providers/krb5/krb5_ccache.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,13 @@ struct tgt_times {

errno_t sss_krb5_precheck_ccache(const char *ccname, uid_t uid, gid_t gid);

errno_t sss_krb5_cc_destroy(const char *ccname);

errno_t sss_krb5_check_ccache_princ(krb5_context kctx,
const char *ccname,
krb5_principal user_princ);

errno_t sss_krb5_cc_verify_ccache(const char *ccname, const char *realm,
const char *principal);

errno_t get_ccache_file_data(const char *ccache_file, const char *client_name,
struct tgt_times *tgtt);

errno_t safe_remove_old_ccache_file(const char *old_ccache,
const char *new_ccache);

Expand Down

0 comments on commit 9cf171a

Please sign in to comment.