pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/52298 CVS commit: pkgsrc/pkgtools/pkg_install/files/lib
The following reply was made to PR pkg/52298; it has been noted by GNATS.
From: "Maya Rashish" <maya%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/52298 CVS commit: pkgsrc/pkgtools/pkg_install/files/lib
Date: Tue, 24 Oct 2017 15:54:31 +0000
Module Name: pkgsrc
Committed By: maya
Date: Tue Oct 24 15:54:31 UTC 2017
Modified Files:
pkgsrc/pkgtools/pkg_install/files/lib: pkcs7.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index