  
      p = ssl_ctx->pool;
  
-@@ -1193,7 +1209,9 @@
+@@ -1193,7 +1197,9 @@
                                     const char * hostname)
  {
  #ifdef SSL_set_tlsext_host_name

 apr_status_t serf_ssl_load_cert_file(
     serf_ssl_certificate_t **cert,
     const char *file_path,
@@ -1527,6 +1567,7 @@
 
     if (!--ctx->ssl_ctx->refcount) {
         ssl_free_context(ctx->ssl_ctx);

         ERR_load_crypto_strings();
         SSL_load_error_strings();
         SSL_library_init();
@@ -971,8 +966,13 @@
         else {
             int err = ERR_get_error();
             ERR_clear_error();
