summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-10-18 20:52:43 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-30 16:36:50 +0100
commitaf8a05f6aea6acd39c4c921ac0fe648940ccafd4 (patch)
treef5231527bf25106a823d94737a609e595a0790f6 /src/tests
parent54ddaca98815177a5185e929c3ffe007c977be35 (diff)
downloadsssd-af8a05f6aea6acd39c4c921ac0fe648940ccafd4.tar.gz
sssd-af8a05f6aea6acd39c4c921ac0fe648940ccafd4.tar.xz
sssd-af8a05f6aea6acd39c4c921ac0fe648940ccafd4.zip
KRB5: Move ccache-related functions to krb5_ccache.c
Add a new module krb5_ccache.c that contains all ccache-related operations. The only user of this module shall be krb5_child.c as the other modules will run unprivileged and accessing the keytab requires either privileges of root or the ccache owner.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/krb5_child-test.c1
-rw-r--r--src/tests/krb5_utils-tests.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c
index 63caa5f6c..09f23d538 100644
--- a/src/tests/krb5_child-test.c
+++ b/src/tests/krb5_child-test.c
@@ -37,6 +37,7 @@
#include "providers/krb5/krb5_auth.h"
#include "providers/krb5/krb5_common.h"
#include "providers/krb5/krb5_utils.h"
+#include "providers/krb5/krb5_ccache.h"
extern struct dp_option default_krb5_opts[];
diff --git a/src/tests/krb5_utils-tests.c b/src/tests/krb5_utils-tests.c
index 18d2bd230..52d8a1857 100644
--- a/src/tests/krb5_utils-tests.c
+++ b/src/tests/krb5_utils-tests.c
@@ -27,6 +27,7 @@
#include <check.h>
#include "providers/krb5/krb5_utils.h"
+#include "providers/krb5/krb5_ccache.h"
#include "providers/krb5/krb5_auth.h"
#include "tests/common.h"