From d2a99d8189d769f6138c8258b927cb475336dd24 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 19 Feb 2013 17:38:18 +0000 Subject: [PATCH] Import change 6d783560e4aad1e680097d11e89755647a5aba87 from upstream heimdal: fix sizeof(uuid) Found by: clang ToT Reviewed by: stas --- crypto/heimdal/kcm/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/heimdal/kcm/cache.c b/crypto/heimdal/kcm/cache.c index 1bd220c8a70a..47442c353f03 100644 --- a/crypto/heimdal/kcm/cache.c +++ b/crypto/heimdal/kcm/cache.c @@ -102,7 +102,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; }