integrate the openssl applink shim

This fixes ext/openssl/tests/openssl_spki_export.phpt failing
with the no OPENSSL_Applink error. Applink is also an interesting
technique documented in the OpenSSL FAQ
https://www.openssl.org/support/faq.html#PROG2
which allows under circumstances using different OpenSSL binaries
than those a program was linked with.
This commit is contained in:
Anatol Belski 2015-07-02 19:49:40 +02:00
parent e8f992c163
commit 59444347d1

View file

@ -94,6 +94,10 @@
# include "win32/select.h" # include "win32/select.h"
#endif #endif
#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
# include "openssl/applink.c"
#endif
PHPAPI extern char *php_ini_opened_path; PHPAPI extern char *php_ini_opened_path;
PHPAPI extern char *php_ini_scanned_path; PHPAPI extern char *php_ini_scanned_path;
PHPAPI extern char *php_ini_scanned_files; PHPAPI extern char *php_ini_scanned_files;