summaryrefslogtreecommitdiff
path: root/lib/gnutls_handshake.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-09-01 13:39:33 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-09-01 13:39:33 +0000
commit675d3421130896b07e60055eba2419fcce7ff4f1 (patch)
tree297bdaf5dc5502dce40a87de37f41c9dc5a6ea9b /lib/gnutls_handshake.c
parent883f6614e01dd939f85219f9b13f64a19e4de1e9 (diff)
downloadgnutls-675d3421130896b07e60055eba2419fcce7ff4f1.tar.gz
More more fixes by Arne.
Diffstat (limited to 'lib/gnutls_handshake.c')
-rw-r--r--lib/gnutls_handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 22c6ae5e94..66f8263d21 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -1503,8 +1503,8 @@ static int _gnutls_send_client_hello(gnutls_session session, int again)
if (session_id_len > 0) {
memcpy(&data[pos], SessionID, session_id_len);
+ pos += session_id_len;
}
- pos += session_id_len;
/* Copy the ciphersuites.