Use SETUP_OPENSSL() in config.w32 if available

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.2.11, 1.3.0-RC1, 1.3.0
    • Affects Version/s: 1.2.10
    • Component/s: None
    • None
    • Environment:
      Windows
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      PHP 7.1.2 introduced a SETUP_OPENSSL() function in confutils.js for Windows builds (df1e1fd), which adds support for OpenSSL 1.1. We should use this function if available, as the PECL's Windows build environment for PHP 7.2 uses OpenSSL 1.1.

      Our existing logic in config.w32 only detects libraries for OpenSSL 1.0, which lead to the driver being configured without OpenSSL support (independent of us requiring the OpenSSL PHP module). This exposed compiler errors for a PHP 7.2 build of the recent 1.2.10 release. Backporting PHPC-875 to v1.2 would address those errors.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: