mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Omitted from r1620926 in error.
Add API to support TLS channel bindings with mod_ssl. * modules/ssl/mod_ssl.h: Define ssl_get_tls_cb. * modules/ssl/ssl_engine_vars.c (ssl_get_tls_cb): New function. Submitted by: Simo Sorce <simo redhat.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1620927 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -76,6 +76,15 @@ APR_DECLARE_OPTIONAL_FN(apr_array_header_t *, ssl_ext_list,
|
||||
* is using SSL/TLS. */
|
||||
APR_DECLARE_OPTIONAL_FN(int, ssl_is_https, (conn_rec *));
|
||||
|
||||
/** A function that returns the TLS channel binding data as per
|
||||
* RFC5929. A buffer containing the Channel Binding Token for the
|
||||
* given type will be allocated from the pool and returned to the
|
||||
* caller, along with the size. Returns APR_SUCCESS on success; buf
|
||||
* and size are not adjusted on error. */
|
||||
APR_DECLARE_OPTIONAL_FN(apr_status_t, ssl_get_tls_cb,
|
||||
(apr_pool_t *p, conn_rec *c, const char *type,
|
||||
unsigned char **buf, apr_size_t *size));
|
||||
|
||||
/** The ssl_proxy_enable() and ssl_engine_disable() optional functions
|
||||
* are used by mod_proxy to enable use of SSL for outgoing
|
||||
* connections. */
|
||||
|
Reference in New Issue
Block a user