Home GnuPG
Diffusion GpgOL d245f6513fd4

Improve ReadAsPlain detection

Description

Improve ReadAsPlain detection

* src/common.cpp, src/common.h (read_reg_bool): New helper.
* src/gpgoladdin.cpp (check_html_preferred): Factor out
registry code and check also in policies.

This fixes the html preference detection in case the
preferences are set through the policies registry part and
also adds a fallback to HKLM options.

Details

Provenance
aheineckeAuthored on Nov 11 2021, 2:02 PM
Parents
rO76b43345cdd3: Do not abort if updating HTML Body fails
Branches
Unknown
Tags
Unknown
Tasks
T5681: GpgOL: Handle GPO settings for readAsPlain