httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1620927 - /httpd/httpd/trunk/modules/ssl/mod_ssl.h
Date Wed, 27 Aug 2014 16:12:08 GMT
Author: jorton
Date: Wed Aug 27 16:12:08 2014
New Revision: 1620927

URL: http://svn.apache.org/r1620927
Log:
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>

Modified:
    httpd/httpd/trunk/modules/ssl/mod_ssl.h

Modified: httpd/httpd/trunk/modules/ssl/mod_ssl.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/mod_ssl.h?rev=1620927&r1=1620926&r2=1620927&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/mod_ssl.h (original)
+++ httpd/httpd/trunk/modules/ssl/mod_ssl.h Wed Aug 27 16:12:08 2014
@@ -76,6 +76,15 @@ APR_DECLARE_OPTIONAL_FN(apr_array_header
  * 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. */



Mime
View raw message