diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-04 07:47:57 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-04 07:47:57 +0000 |
commit | 94b36a2b79c6216cbb502c65f08829be1a5b1989 (patch) | |
tree | c3ec781bd94f0218f2c13115bd226671696ee9df /lib/gnutls_constate.c | |
parent | 9a740fdabd18b2b50097023dc72123dcfb8bb28c (diff) | |
download | gnutls-94b36a2b79c6216cbb502c65f08829be1a5b1989.tar.gz |
* Corrected a bug in 64 bit architectures, which affected the
serial number calculation in the record layer.
* Added gnutls_certificate_free_keys() which deletes all the
private keys and certificates from the credentials structure.
Diffstat (limited to 'lib/gnutls_constate.c')
-rw-r--r-- | lib/gnutls_constate.c | 4 |
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 |