Skip to content

Commit

Permalink
app-crypt/gnupg: Followup fix to making system-cert-store default
Browse files Browse the repository at this point in the history
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
  • Loading branch information
krifisk committed Nov 1, 2016
1 parent f3e8dee commit b74dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-crypt/gnupg/gnupg-2.1.15-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b74dd1d

Please sign in to comment.