summaryrefslogtreecommitdiff
path: root/tlscommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tlscommon.c')
-rw-r--r--tlscommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tlscommon.c b/tlscommon.c
index 619808b..c0a6967 100644
--- a/tlscommon.c
+++ b/tlscommon.c
@@ -404,7 +404,7 @@ static int subjectaltnameregexp(X509 *cert, int type, char *exact, regex_t *reg
if (l <= 0)
continue;
#ifdef DEBUG
- printfchars(NULL, gn->type == GEN_DNS ? "dns" : "uri", NULL, v, l);
+ printfchars(NULL, gn->type == GEN_DNS ? "dns" : "uri", NULL, (uint8_t *) v, l);
#endif
if (exact) {
if (memcmp(v, exact, l))