diff options
author | Ingo Klöcker <[email protected]> | 2023-04-18 11:16:22 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-04-18 11:16:22 +0000 |
commit | 5bd84cfd3f092703bb4b9b993be7d89ca13b36b0 (patch) | |
tree | a6ca22536a79eafca309c33ebc057468bc5afa3e /lang/cpp/src/callbacks.h | |
parent | core: Avoid printf format warnings due to gpgme_ssize_t. (diff) | |
download | gpgme-5bd84cfd3f092703bb4b9b993be7d89ca13b36b0.tar.gz gpgme-5bd84cfd3f092703bb4b9b993be7d89ca13b36b0.zip |
cpp: Fix Key::canSign()
* lang/cpp/src/key.h (canReallySign): Deprecate.
* lang/cpp/src/key.cpp (canSign): Remove workaround. Use implementation
of canReallySign.
(canReallySign): Use canSign().
(operator<<): Use canSign().
--
The workaround in canSign was added 19 years ago and canReallySign, the
workaround for the workaround, was added 13 years ago. Time to get rid
of those workarounds for a bug in gpgme which has been fixed long ago
and which cause bugs for any unsuspecting user of Key::canSign().
GnuPG-bug-id: 6456
Diffstat (limited to 'lang/cpp/src/callbacks.h')
0 files changed, 0 insertions, 0 deletions