summaryrefslogtreecommitdiff
path: root/lib/gnutls_constate.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-12-15 10:52:19 +0000
committerSimon Josefsson <simon@josefsson.org>2005-12-15 10:52:19 +0000
commit3860714e697158a17086fff6a87fa9d22877895a (patch)
treedb6ae00dc003790ce52fc23fb7c100db8498ffeb /lib/gnutls_constate.c
parent1b6f0a191d7dd2ab25da837494a53992e01b9229 (diff)
downloadgnutls-3860714e697158a17086fff6a87fa9d22877895a.tar.gz
Add TLS/IA support.
Diffstat (limited to 'lib/gnutls_constate.c')
-rw-r--r--lib/gnutls_constate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_constate.c b/lib/gnutls_constate.c
index 3ac7b3ef2e..55ac8aa49e 100644
--- a/lib/gnutls_constate.c
+++ b/lib/gnutls_constate.c
@@ -442,7 +442,8 @@ _gnutls_set_write_keys (gnutls_session_t session)
dst->max_record_recv_size = src->max_record_recv_size; \
dst->max_record_send_size = src->max_record_send_size; \
dst->version = src->version; \
- memcpy( &dst->extensions, &src->extensions, sizeof(tls_ext_st));
+ memcpy( &dst->extensions, &src->extensions, sizeof(tls_ext_st)); \
+ memcpy( &dst->inner_secret, &src->inner_secret, sizeof(tls_ext_st));
static void
_gnutls_cpy_read_security_parameters (security_parameters_st *