summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-02-19 17:38:18 +0000
committerdim <dim@FreeBSD.org>2013-02-19 17:38:18 +0000
commit90c71ac75a455d049dc4ec69e3dbf475e699fc81 (patch)
tree4779e17ceab3a2dfab930de4a9f464219b0470c1 /crypto/heimdal
parentcf4cf7e029ea0ac66e5702bfad183939ab86c58a (diff)
downloadFreeBSD-src-90c71ac75a455d049dc4ec69e3dbf475e699fc81.zip
FreeBSD-src-90c71ac75a455d049dc4ec69e3dbf475e699fc81.tar.gz
Import change 6d783560e4aad1e680097d11e89755647a5aba87 from upstream
heimdal: fix sizeof(uuid) Found by: clang ToT Reviewed by: stas
Diffstat (limited to 'crypto/heimdal')
-rw-r--r--crypto/heimdal/kcm/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/heimdal/kcm/cache.c b/crypto/heimdal/kcm/cache.c
index 1bd220c..47442c3 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;
}
OpenPOWER on IntegriCloud