summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-04-22 17:09:35 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-04-22 17:09:35 +0000
commitd4ca6f488ee41487bf0d3a1484ab025c9860fa90 (patch)
tree05247b64c5a6769d86535ffd7ce342570603a4eb /lib
parentfede76e6ff6e8dbe61133e2da3e7375be94ba2d1 (diff)
downloadgnutls-d4ca6f488ee41487bf0d3a1484ab025c9860fa90.tar.gz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_global.c1
-rw-r--r--lib/gnutls_record.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 40c154bf3e..ccb37bafc1 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -162,7 +162,6 @@ int gnutls_global_init( void)
{
int result = 0;
int res;
- char c;
if (_gnutls_init) goto out;
_gnutls_init++;
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index b6d0051472..1691e7e236 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -594,8 +594,8 @@ static int _gnutls_record_check_type( gnutls_session session, ContentType recv_t
break;
case GNUTLS_HANDSHAKE:
- /* This is legal if HELLO_REQUEST is received - and we are a client,
- * or we are a server. A client may initiate a renegotiation at any time.
+ /* This is legal if HELLO_REQUEST is received - and we are a client.
+ * If we are a server, a client may initiate a renegotiation at any time.
*/
if ( session->security_parameters.entity==GNUTLS_SERVER) {
gnutls_assert();