summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2003-01-14 21:32:16 +0000
committerWojciech Polak <polak@gnu.org>2003-01-14 21:32:16 +0000
commitd1b30778e966d3432981251db2a142d02c3107f7 (patch)
tree473100330fdaf48e818474452162f26cd123751d /auth
parentf8c2cf3dca81167c90ed28f5029bd1630d9a5c3e (diff)
downloadmailutils-d1b30778e966d3432981251db2a142d02c3107f7.tar.gz
mailutils-d1b30778e966d3432981251db2a142d02c3107f7.tar.bz2
(mu_init_tls_libs): gnutls_global_init() returns zero on success,
so reverse this state for 'tls_available' variable.
Diffstat (limited to 'auth')
-rw-r--r--auth/tls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/tls.c b/auth/tls.c
index 04836d90b..95583a541 100644
--- a/auth/tls.c
+++ b/auth/tls.c
@@ -149,6 +149,8 @@ mu_init_tls_libs (void)
if (rs == 0) /* Reverse for tls_available */
rs = 1;
+ else
+ rs = 0;
return rs; /* Returns 1 on success */
}

Return to:

Send suggestions and report system problems to the System administrator.