diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-01-16 16:06:59 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-01-16 16:06:59 +0100 |
commit | c2c7de6bf42a8598e9a482a452c1f3edb34d2c94 (patch) | |
tree | d5880ddd08420e7cd32f0f1dc1f28a64437041ca /tlscommon.c | |
parent | edd9079229f9e9ffe496bdec9f3fc449930ce296 (diff) |
Fix some issues showing when DEBUG is defined.
Diffstat (limited to 'tlscommon.c')
-rw-r--r-- | tlscommon.c | 2 |
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)) |