summaryrefslogtreecommitdiff
path: root/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
blob: b3cdaea0f64ea9fa87bb01734e0362383a2cfe81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- modules/ssl/ssl_util_ssl.c.orig	2012-08-17 17:30:46 UTC
+++ modules/ssl/ssl_util_ssl.c
@@ -492,7 +492,11 @@ BOOL SSL_X509_INFO_load_path(apr_pool_t 
  * format, possibly followed by a sequence of CA certificates that
  * should be sent to the peer in the SSL Certificate message.
  */
+#ifndef HAVE_SSL_CTX_USE_CERTIFICATE_CHAIN
 int SSL_CTX_use_certificate_chain(
+#else
+int _SSL_CTX_use_certificate_chain(
+#endif
     SSL_CTX *ctx, char *file, int skipfirst, modssl_read_bio_cb_fn *cb)
 {
     BIO *bio;