freebsd-ports/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
Olli Hauer 1499cb2503 - re add libressl patches (lost by last cleanup commit)
- no version bump, libressl is not the default ssl

with hat: apache

PR:			202047
Submitted by:		mcdouga9 _at_ egr.msu.edu
Patch Provided by:	phil.stone _at_ gmx.com
2015-08-03 21:10:29 +00:00

14 lines
512 B
C

--- 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;