summaryrefslogtreecommitdiff
path: root/lib/gnutls_constate.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-04 07:46:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-04 07:46:43 +0000
commitf16232205e2e20120d80f8d9019908b2d0d94fcf (patch)
tree0db538aeba308ba86e9eaa6288f02a41b0d3edee /lib/gnutls_constate.c
parent38af72b3d68ab4c3fe0ae27332af37c9d71771cd (diff)
downloadgnutls-f16232205e2e20120d80f8d9019908b2d0d94fcf.tar.gz
Corrected a bug in 64 bit architectures, which affected the
serial number calculation in the record layer.
Diffstat (limited to 'lib/gnutls_constate.c')
-rw-r--r--lib/gnutls_constate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_constate.c b/lib/gnutls_constate.c
index 4d49af2440..fc75d27832 100644
--- a/lib/gnutls_constate.c
+++ b/lib/gnutls_constate.c
@@ -450,7 +450,7 @@ int _gnutls_read_connection_state_init(gnutls_session session)
int mac_size;
int rc;
- _gnutls_uint64zero(&session->connection_state.read_sequence_number);
+ _gnutls_uint64zero(session->connection_state.read_sequence_number);
/* Update internals from CipherSuite selected.
* If we are resuming just copy the connection session
@@ -632,7 +632,7 @@ int _gnutls_write_connection_state_init(gnutls_session session)
int mac_size;
int rc;
- _gnutls_uint64zero(&session->connection_state.write_sequence_number);
+ _gnutls_uint64zero(session->connection_state.write_sequence_number);
/* Update internals from CipherSuite selected.
* If we are resuming just copy the connection session