summaryrefslogtreecommitdiff
path: root/source4/lib/tls/tlscert.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tls/tlscert.c')
-rw-r--r--source4/lib/tls/tlscert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tls/tlscert.c b/source4/lib/tls/tlscert.c
index d119922602..ab06f8617c 100644
--- a/source4/lib/tls/tlscert.c
+++ b/source4/lib/tls/tlscert.c
@@ -41,7 +41,7 @@ void tls_cert_generate(TALLOC_CTX *mem_ctx,
gnutls_x509_crt cacrt, crt;
gnutls_x509_privkey key, cakey;
uint32_t serial = (uint32_t)time(NULL);
- char keyid[100];
+ unsigned char keyid[100];
char buf[4096];
size_t bufsize;
size_t keyidsize = sizeof(keyid);