diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-12 17:31:19 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-14 16:07:49 +0200 |
commit | 4b3731071c95ca168cc950fae1b439de7b325ef6 (patch) | |
tree | 3f68105a112c77fa28c948a98c1cb3c2fbea42e6 /lib/ext/max_record.c | |
parent | 44c34e1f6b4e677d7c55aaeb7e96aabd91569d14 (diff) | |
download | gnutls-4b3731071c95ca168cc950fae1b439de7b325ef6.tar.gz |
removed type extension_priv_data_t
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/ext/max_record.c')
-rw-r--r-- | lib/ext/max_record.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ext/max_record.c b/lib/ext/max_record.c index 41880b6236..a934ff1cfe 100644 --- a/lib/ext/max_record.c +++ b/lib/ext/max_record.c @@ -36,8 +36,8 @@ static int _gnutls_max_record_send_params(gnutls_session_t session, gnutls_buffer_st * extdata); static int _gnutls_max_record_unpack(gnutls_buffer_st * ps, - extension_priv_data_t * _priv); -static int _gnutls_max_record_pack(extension_priv_data_t _priv, + gnutls_ext_priv_data_t * _priv); +static int _gnutls_max_record_pack(gnutls_ext_priv_data_t _priv, gnutls_buffer_st * ps); /* Maps record size to numbers according to the @@ -75,7 +75,7 @@ _gnutls_max_record_recv_params(gnutls_session_t session, { ssize_t new_size; ssize_t data_size = _data_size; - extension_priv_data_t epriv; + gnutls_ext_priv_data_t epriv; int ret; if (session->security_parameters.entity == GNUTLS_SERVER) { @@ -140,7 +140,7 @@ _gnutls_max_record_send_params(gnutls_session_t session, /* this function sends the client extension data (dnsname) */ if (session->security_parameters.entity == GNUTLS_CLIENT) { - extension_priv_data_t epriv; + gnutls_ext_priv_data_t epriv; ret = _gnutls_ext_get_session_data(session, GNUTLS_EXTENSION_MAX_RECORD_SIZE, @@ -180,7 +180,7 @@ _gnutls_max_record_send_params(gnutls_session_t session, static int -_gnutls_max_record_pack(extension_priv_data_t epriv, gnutls_buffer_st * ps) +_gnutls_max_record_pack(gnutls_ext_priv_data_t epriv, gnutls_buffer_st * ps) { int ret; @@ -192,9 +192,9 @@ _gnutls_max_record_pack(extension_priv_data_t epriv, gnutls_buffer_st * ps) static int _gnutls_max_record_unpack(gnutls_buffer_st * ps, - extension_priv_data_t * _priv) + gnutls_ext_priv_data_t * _priv) { - extension_priv_data_t epriv; + gnutls_ext_priv_data_t epriv; int ret; BUFFER_POP_CAST_NUM(ps, epriv); @@ -287,7 +287,7 @@ size_t gnutls_record_get_max_size(gnutls_session_t session) ssize_t gnutls_record_set_max_size(gnutls_session_t session, size_t size) { ssize_t new_size; - extension_priv_data_t epriv; + gnutls_ext_priv_data_t epriv; if (session->security_parameters.entity == GNUTLS_SERVER) return GNUTLS_E_INVALID_REQUEST; |