diff options
Diffstat (limited to 'lib/hello_ext.c')
-rw-r--r-- | lib/hello_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hello_ext.c b/lib/hello_ext.c index 33eaa27b10..0c6c0dca01 100644 --- a/lib/hello_ext.c +++ b/lib/hello_ext.c @@ -520,7 +520,7 @@ int _gnutls_hello_ext_pack(gnutls_session_t session, gnutls_buffer_st *packed) BUFFER_APPEND_NUM(packed, 0); for (i = 0; i <= GNUTLS_EXTENSION_MAX_VALUE; i++) { - if (session->internals.used_exts & (1<<i)) { + if (session->internals.used_exts & (1U << i)) { ext = gid_to_ext_entry(session, i); if (ext == NULL) |