summaryrefslogtreecommitdiff
path: root/libwebsockets-api-doc.html
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-02-19 09:09:11 +0000
committerAndy Green <andy@warmcat.com>2011-02-19 09:09:11 +0000
commit0894bda18419834274d7555bc3e300307a4542ac (patch)
treef4b89afb2cd2f421cd52b647c712738304b8186c /libwebsockets-api-doc.html
parent32375b7e9e02dfeb078c80f236c3b2892f8f3014 (diff)
add callback to allow additional client verification certs
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'libwebsockets-api-doc.html')
-rw-r--r--libwebsockets-api-doc.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html
index cd3e70d..ecb17ca 100644
--- a/libwebsockets-api-doc.html
+++ b/libwebsockets-api-doc.html
@@ -580,7 +580,15 @@ use the header enums lws_token_indexes from libwebsockets.h
to check for and read the supported header presence and
content before deciding to allow the handshake to proceed or
to kill the connection.
-<p>
+</blockquote>
+<h3>LWS_CALLBACK_OPENSSL_LOAD_EXTRA_CLIENT_VERIFY_CERTS</h3>
+<blockquote>
+if configure for
+including OpenSSL support, this callback allows your user code
+to perform extra <b>SSL_CTX_load_verify_locations</b> or similar
+calls to direct OpenSSL where to find certificates the client
+can use to confirm the remote server identity. <tt><b>user</b></tt> is the
+OpenSSL SSL_CTX*
<p>
The next four reasons are optional and only need taking care of if you
will be integrating libwebsockets sockets into an external polling