summaryrefslogtreecommitdiff
path: root/source4/lib/tls
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-15 02:41:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:20 -0500
commit0f921145d5bb687f2cbf4217fc199d3a133ac583 (patch)
tree04a549d363d2c59984e7cdac9e3db7dc72fdf6a8 /source4/lib/tls
parent055861925433147a9b0f07f399c4ab345f9bef65 (diff)
downloadsamba-0f921145d5bb687f2cbf4217fc199d3a133ac583.tar.gz
samba-0f921145d5bb687f2cbf4217fc199d3a133ac583.tar.bz2
samba-0f921145d5bb687f2cbf4217fc199d3a133ac583.zip
r14412: init a var
(This used to be commit ec53f5fe9617ea36295522a410161bbca6edf9ad)
Diffstat (limited to 'source4/lib/tls')
-rw-r--r--source4/lib/tls/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tls/tls.c b/source4/lib/tls/tls.c
index bbb7fde9f3..3d40fdafa0 100644
--- a/source4/lib/tls/tls.c
+++ b/source4/lib/tls/tls.c
@@ -454,7 +454,7 @@ struct tls_context *tls_init_client(struct socket_context *socket,
BOOL tls_enable)
{
struct tls_context *tls;
- int ret;
+ int ret=0;
const int cert_type_priority[] = { GNUTLS_CRT_X509, GNUTLS_CRT_OPENPGP, 0 };
char *cafile;