diff options
Diffstat (limited to 'lib/hello_ext.h')
-rw-r--r-- | lib/hello_ext.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/hello_ext.h b/lib/hello_ext.h index 577775d08a..53e1d5eede 100644 --- a/lib/hello_ext.h +++ b/lib/hello_ext.h @@ -123,8 +123,10 @@ typedef struct hello_ext_entry_st { } hello_ext_entry_st; /* Checks if the extension @id provided has been requested - * by us (in client side). In that case it returns non-zero, - * otherwise zero. + * by us (in client side).In server side it checks whether this + * extension was advertized by the client. + * + * It returns non-zero for true, otherwise zero. */ inline static unsigned _gnutls_hello_ext_is_present(gnutls_session_t session, extensions_t id) |