aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/x509/dn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/x509/dn.c')
-rw-r--r--src/daemon/https/x509/dn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/https/x509/dn.c b/src/daemon/https/x509/dn.c
index 8dcc458a..eac31f33 100644
--- a/src/daemon/https/x509/dn.c
+++ b/src/daemon/https/x509/dn.c
@@ -273,7 +273,7 @@ MHD__gnutls_x509_parse_dn (ASN1_TYPE MHD__asn1_struct,
273 273
274 if (!printable || result < 0) 274 if (!printable || result < 0)
275 result = 275 result =
276 MHD__gnutls_x509_data2hex (value2, len, string, &sizeof_string); 276 MHD__gnutls_x509_data2hex ((const unsigned char*) value2, len, (unsigned char*) string, &sizeof_string);
277 277
278 if (result < 0) 278 if (result < 0)
279 { 279 {
@@ -477,7 +477,7 @@ MHD__gnutls_x509_parse_dn_oid (ASN1_TYPE MHD__asn1_struct,
477 cbuf, sizeof_buf); 477 cbuf, sizeof_buf);
478 else 478 else
479 result = 479 result =
480 MHD__gnutls_x509_data2hex (buf, len, cbuf, sizeof_buf); 480 MHD__gnutls_x509_data2hex (buf, len, (unsigned char*) cbuf, sizeof_buf);
481 481
482 if (result < 0) 482 if (result < 0)
483 { 483 {