aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context_p.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-01-30 10:58:01 +0000
committerIngo Klöcker <[email protected]>2023-01-30 11:49:11 +0000
commit48b11f576260286bddef3833e25d0059638fe0bb (patch)
tree9795561417da9c2131b1602e8984ff84a2e01b44 /lang/cpp/src/context_p.h
parentqt: Add job for creating encrypted archives (diff)
downloadgpgme-48b11f576260286bddef3833e25d0059638fe0bb.tar.gz
gpgme-48b11f576260286bddef3833e25d0059638fe0bb.zip
core: Use signature modes as flags
* src/engine-backend.h (engine_ops.sign): Rename argument mode to flags. * src/engine-gpg.c (gpg_sign): Rename argument mode to flags. Check for invalid combination of flags. * src/engine-gpgsm.c (gpgsm_sign): Rename argument mode to flags. Check for unsupported flags. * src/engine-uiserver.c (gpgsm_sign): Rename argument mode to flags. Check for unsupported flags. * src/engine.c, src/engine.h (_gpgme_engine_op_sign): Rename argument mode to flags. * src/gpgme.h.in (GPGME_SIG_MODE_ARCHIVE): Change value to 4. (gpgme_op_sign_start, gpgme_op_sign): Rename argument mode to flags. * src/sign.c (sign_start): Rename argument mode to flags. Adjust check for invalid flags. (gpgme_op_sign_start, gpgme_op_sign): Rename argument mode to flags. -- Using the signature mode constants as flags is more natural, even if currently all flags are mutually exclusive, because archives are signed with a normal signature. GnuPG-bug-id: 6342
Diffstat (limited to 'lang/cpp/src/context_p.h')
0 files changed, 0 insertions, 0 deletions