Home GnuPG
Diffusion GpgOL 3154ae7a8e41

Read compliance name from libkleopatrarc

Description

Read compliance name from libkleopatrarc

* src/common.cpp (de_vs_name, compliance_string): New.
* src/common.h: Update prototypes.
* src/cpphelp.cpp, src/cpphelp.h: Move de_vs_code into
common.
* src/mail.cpp (Mail::prepareCrypto_o, Mail::getCryptoDetails_o):
Use new helper functions.

To have GPGME specific code was not a good place in cpphelp.

Details

Provenance
aheineckeAuthored on Dec 1 2020, 4:26 PM
Parents
rO0d09905c3bb0: Add gpgrt based std::string printf function
Branches
Unknown
Tags
Unknown