summaryrefslogtreecommitdiff
path: root/tlscommon.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-01-16 16:06:59 +0100
committerLinus Nordberg <linus@nordberg.se>2015-01-16 16:06:59 +0100
commitc2c7de6bf42a8598e9a482a452c1f3edb34d2c94 (patch)
treed5880ddd08420e7cd32f0f1dc1f28a64437041ca /tlscommon.c
parentedd9079229f9e9ffe496bdec9f3fc449930ce296 (diff)
Fix some issues showing when DEBUG is defined.
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))