diff options
author | Daiki Ueno <dueno@redhat.com> | 2019-08-08 18:04:18 +0200 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2019-09-12 11:32:06 +0200 |
commit | 5e9b2ec29449c76b1b938a0ebf0dc9b92cae7057 (patch) | |
tree | 12f70c39560f8979ba6eee5a52ec54bbfc4a6c2e /lib/ext/cookie.c | |
parent | e0fe31f1fc2ba13ada1d6bc35231847b75be4ee9 (diff) | |
download | gnutls-5e9b2ec29449c76b1b938a0ebf0dc9b92cae7057.tar.gz |
lib/*: remove unnecessary cast to ssize_ttmp-decr-len
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/ext/cookie.c')
-rw-r--r-- | lib/ext/cookie.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ext/cookie.c b/lib/ext/cookie.c index 1e66c3d49a..0feb2f0e5a 100644 --- a/lib/ext/cookie.c +++ b/lib/ext/cookie.c @@ -53,10 +53,9 @@ const hello_ext_entry_st ext_mod_cookie = { /* Only client sends this extension. */ static int cookie_recv_params(gnutls_session_t session, - const uint8_t * data, size_t _data_size) + const uint8_t * data, size_t data_size) { - ssize_t data_size = _data_size; - ssize_t csize; + size_t csize; int ret; gnutls_datum_t tmp; |