[glib-networking] gnutls: fix an uninitialized variable
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnutls: fix an uninitialized variable
- Date: Tue, 7 Dec 2010 14:14:51 +0000 (UTC)
commit 644f1a5b42fd879d316d363506fe760a30114304
Author: Dan Winship <danw gnome org>
Date: Tue Dec 7 15:10:53 2010 +0100
gnutls: fix an uninitialized variable
tls/gnutls/gtlsconnection-gnutls.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index b812b18..9fab2d3 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -199,6 +199,8 @@ g_tls_connection_gnutls_set_handshake_priority (GTlsConnectionGnutls *gnutls)
if (G_IS_TLS_CLIENT_CONNECTION (gnutls))
use_ssl3 = g_tls_client_connection_get_use_ssl3 (G_TLS_CLIENT_CONNECTION (gnutls));
+ else
+ use_ssl3 = FALSE;
unsafe_rehandshake = (gnutls->priv->rehandshake_mode == G_TLS_REHANDSHAKE_UNSAFELY);
gnutls_priority_set (gnutls->priv->session,
priorities[use_ssl3][unsafe_rehandshake]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]