summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-30 08:31:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:22 -0500
commit7eb440f2f735128c9e40f5ec868809cfa3be6948 (patch)
tree440ed64c1dbc3bd480e4ae923df1342805a7f2ee /source4/lib
parent6942d1d62c23ea2e43469485c0e0503d3906760c (diff)
downloadsamba-7eb440f2f735128c9e40f5ec868809cfa3be6948.tar.gz
samba-7eb440f2f735128c9e40f5ec868809cfa3be6948.tar.bz2
samba-7eb440f2f735128c9e40f5ec868809cfa3be6948.zip
r14806: Fix compiler warnings
(This used to be commit b38a83407717b760c8a7aa3715ab3ca7f637c611)
Diffstat (limited to 'source4/lib')
-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);