pkgsrc/pkgtools/pkg_install
maya 7bada3c053 pkg_install: Fix OpenSSL 1.1.0 build
OpenSSL 1.1.0 makes xkusage and ex_flags opaque.

Use X509_check_ca rather than a custom and nearly identical implementation.
This is available since OpenSSL 0.9.8 (even in RHEL5).

This is also done because we cannot implement it identically under
OpenSSL 1.1.0 due to missing getters.

Test EXFLAG_XKUSAGE rather than zero xkusage test no usage to avoid openssl
1.1.0 getter returning a different code on this case.

Use getter for xkusage in the non-zero test case.

Provide fallback definitions for getters.

PR pkg/52298, PR pkg/52648
2017-10-24 15:54:31 +00:00
..
files pkg_install: Fix OpenSSL 1.1.0 build 2017-10-24 15:54:31 +00:00
DESCR Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
INSTALL
Makefile Consolidate openssl handling to options.mk. In particular, do not 2017-07-27 18:54:44 +00:00
MESSAGE Update message to match the "Checking for security vulnerabilities in installed packages" 2017-01-09 07:01:33 +00:00
options.mk Consolidate openssl handling to options.mk. In particular, do not 2017-07-27 18:54:44 +00:00
PLIST