subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r1139566 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Sat, 25 Jun 2011 16:02:10 GMT
Author: jerenkrantz
Date: Sat Jun 25 16:02:09 2011
New Revision: 1139566

URL: http://svn.apache.org/viewvc?rev=1139566&view=rev
Log:
Support new serfs that can transmit TLS SNI info.

* subversion/libsvn_ra_serf/util.c
  (conn_setup): Tell SSL context what the hostname is so it can use SNI.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1139566&r1=1139565&r2=1139566&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Sat Jun 25 16:02:09 2011
@@ -343,6 +343,10 @@ conn_setup(apr_socket_t *sock,
         {
           conn->ssl_context = serf_bucket_ssl_encrypt_context_get(*read_bkt);
 
+#ifdef serf_ssl_set_hostname
+          serf_ssl_set_hostname(conn->ssl_context, conn->hostinfo);
+#endif
+
           serf_ssl_client_cert_provider_set(conn->ssl_context,
                                             svn_ra_serf__handle_client_cert,
                                             conn, conn->session->pool);



Mime
View raw message