From b38a83407717b760c8a7aa3715ab3ca7f637c611 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 30 Mar 2006 08:31:39 +0000 Subject: [PATCH] r14806: Fix compiler warnings --- source/lib/tls/tlscert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/tls/tlscert.c b/source/lib/tls/tlscert.c index d1199226029..ab06f8617c7 100644 --- a/source/lib/tls/tlscert.c +++ b/source/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);