forked from Lainports/opnsense-ports
14 lines
512 B
C
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;
|