summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2016-11-01 22:40:17 +0100
committerKristian Fiskerstrand <k_f@gentoo.org>2016-11-01 22:40:32 +0100
commitb74dd1d6f9a4c6e443d0dc6eb32b8beef45b56cb (patch)
tree645295d71abb6e7ec9b517aa995d68a4d79d5c18
parentnet-print/foomatic-db: Remove old (diff)
downloadgentoo-b74dd1d6f9a4c6e443d0dc6eb32b8beef45b56cb.tar.gz
gentoo-b74dd1d6f9a4c6e443d0dc6eb32b8beef45b56cb.tar.bz2
gentoo-b74dd1d6f9a4c6e443d0dc6eb32b8beef45b56cb.zip
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
-rw-r--r--app-crypt/gnupg/gnupg-2.1.15-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-crypt/gnupg/gnupg-2.1.15-r1.ebuild b/app-crypt/gnupg/gnupg-2.1.15-r1.ebuild
index 4a0c067affc5..db751a3d0d5d 100644
--- a/app-crypt/gnupg/gnupg-2.1.15-r1.ebuild
+++ b/app-crypt/gnupg/gnupg-2.1.15-r1.ebuild
@@ -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