aboutsummaryrefslogtreecommitdiff
path: root/kcm/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'kcm/cache.c')
-rw-r--r--kcm/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcm/cache.c b/kcm/cache.c
index 0b6cdf526bf4..25b84ab385a2 100644
--- a/kcm/cache.c
+++ b/kcm/cache.c
@@ -105,7 +105,7 @@ kcm_ccache_resolve_by_uuid(krb5_context context,
for (p = ccache_head; p != NULL; p = p->next) {
if ((p->flags & KCM_FLAGS_VALID) == 0)
continue;
- if (memcmp(p->uuid, uuid, sizeof(*uuid)) == 0) {
+ if (memcmp(p->uuid, uuid, sizeof(kcmuuid_t)) == 0) {
ret = 0;
break;
}