From 54573924ef93a91cbb581af8990436bd1447149a Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 2 Oct 2019 12:48:22 -0700 Subject: [PATCH] lws_is_ssl: update docs --- include/libwebsockets/lws-misc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/libwebsockets/lws-misc.h b/include/libwebsockets/lws-misc.h index 6bffd85d4..7c35d23a3 100644 --- a/include/libwebsockets/lws-misc.h +++ b/include/libwebsockets/lws-misc.h @@ -558,9 +558,7 @@ size_t lws_get_allocated_heap(void); * lws_is_ssl() - Find out if connection is using SSL * \param wsi: websocket connection to check * - * Returns 0 if the connection is not using SSL, 1 if using SSL and - * using verified cert, and 2 if using SSL but the cert was not - * checked (appears for client wsi told to skip check on connection) + * Returns nonzero if the wsi is inside a tls tunnel, else zero. */ LWS_VISIBLE LWS_EXTERN int lws_is_ssl(struct lws *wsi);