diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-14 23:34:10 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-21 01:05:59 +0100 |
commit | 99ad4c6b2ab76d386be76daed0c509e62d6334c7 (patch) | |
tree | 773f59bfd7a3df71e7244b381b1eb19090b17506 /lib/gnutls_handshake.c | |
parent | e000bcadabc1c06afa16f730239a80c26081689a (diff) | |
download | gnutls-99ad4c6b2ab76d386be76daed0c509e62d6334c7.tar.gz |
Modulo operations are only occuring on unsigned integers.
Diffstat (limited to 'lib/gnutls_handshake.c')
-rw-r--r-- | lib/gnutls_handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c index b00212211b..167bb3daf0 100644 --- a/lib/gnutls_handshake.c +++ b/lib/gnutls_handshake.c @@ -801,7 +801,7 @@ server_find_pk_algos_in_ciphersuites (const opaque * */ int _gnutls_server_select_suite (gnutls_session_t session, opaque * data, - int datalen) + unsigned int datalen) { int i, j, ret, cipher_suites_size; size_t pk_algos_size; |