app-crypt/gnupg: Followup fix to making system-cert-store default

Make sure that setting system-cert-store adds the bitflag for _TRUST_SYS
in addition to TRUST_DEF in order for hkp-cacert to still function

Package-Manager: portage-2.3.2
This commit is contained in:
Kristian Fiskerstrand
2016-11-01 22:40:17 +01:00
parent f3e8dee794
commit b74dd1d6f9

View File

@@ -52,7 +52,7 @@ src_prepare() {
# This provides use of gnutls system cert store for hkps://
# Gentoo-Bug: 597934
if use system-cert-store; then
sed -i 's/HTTP_FLAG_TRUST_DEF/HTTP_FLAG_TRUST_SYS/g' \
sed -i 's/HTTP_FLAG_TRUST_DEF/HTTP_FLAG_TRUST_DEF | HTTP_FLAG_TRUST_SYS/g' \
"${S}/dirmngr/ks-engine-hkp.c" || die
einfo "Using system TLS certificate store"
fi