From ca492d885a01e0bf0b9abfab456c31d5c087588c Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Mon, 14 Jul 2014 03:04:16 -0400 Subject: [PATCH] Use Ustrlen() on a uschar --- src/src/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/expand.c b/src/src/expand.c index c0edef651..88a5ee399 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -5908,7 +5908,7 @@ while (*s != 0) if (vp && *(void **)vp->value) { uschar * cp = tls_cert_fprt_sha256(*(void **)vp->value); - yield = string_cat(yield, &size, &ptr, cp, (int)strlen(cp)); + yield = string_cat(yield, &size, &ptr, cp, (int)Ustrlen(cp)); } else #endif -- 2.25.1