diff options
Diffstat (limited to 'lib/hello_ext.h')
-rw-r--r-- | lib/hello_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hello_ext.h b/lib/hello_ext.h index 1ad16e19d7..55bdbe86d3 100644 --- a/lib/hello_ext.h +++ b/lib/hello_ext.h @@ -159,7 +159,7 @@ typedef struct hello_ext_entry_st { inline static unsigned _gnutls_hello_ext_is_present(gnutls_session_t session, extensions_t id) { - if (id != 0 && ((1 << id) & session->internals.used_exts)) + if ((1 << id) & session->internals.used_exts) return 1; return 0; |