about summary refs log tree commit diff stats
path: root/src/tidy_tls.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2015-12-16 01:54:03 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2015-12-16 01:54:03 -0500
commit70936d8b534d326e6b7bdde5d28fa839a6a33986 (patch)
tree3e4485f0d809e45e383dfb4d2db4621115be7b20 /src/tidy_tls.c
parent769b6cceb3e3a602353f47b91c1214dd47455966 (diff)
downloadlynx-snapshots-70936d8b534d326e6b7bdde5d28fa839a6a33986.tar.gz
snapshot of project "lynx", label v2-8-9dev_6o
Diffstat (limited to 'src/tidy_tls.c')
-rw-r--r--src/tidy_tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tidy_tls.c b/src/tidy_tls.c
index 012c25d8..af5d07d5 100644
--- a/src/tidy_tls.c
+++ b/src/tidy_tls.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: tidy_tls.c,v 1.32 2015/12/15 01:41:06 tom Exp $
+ * $LynxId: tidy_tls.c,v 1.33 2015/12/16 01:23:11 tom Exp $
  * Copyright 2008-2014,2015 Thomas E. Dickey
  * with fix Copyright 2008 by Thomas Viehmann
  *
@@ -461,7 +461,7 @@ int SSL_read(SSL * ssl, void *buffer, int length)
 
     if (rc < 0 && gnutls_error_is_fatal(rc) == 0) {
 	if (rc == GNUTLS_E_REHANDSHAKE) {
-	    rc = gnutls_handshake(ssl->gnutls_state);
+	    (void) gnutls_handshake(ssl->gnutls_state);
 	    gnutls_record_send(ssl->gnutls_state, ssl->sendbuffer, (size_t) ssl->bytes_sent);
 	    rc = (int) gnutls_record_recv(ssl->gnutls_state, buffer, (size_t) length);
 	}