diff options
author | Ingo Klöcker <[email protected]> | 2022-05-06 07:34:18 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-05-06 07:34:18 +0000 |
commit | f72cf726ca749a138a8950b02c51e7b3a50c6a83 (patch) | |
tree | e345786be44f4f593b195087869de260dd112818 /lang/cpp/src/context.h | |
parent | cpp: Output more properties of a subkey (diff) | |
download | gpgme-f72cf726ca749a138a8950b02c51e7b3a50c6a83.tar.gz gpgme-f72cf726ca749a138a8950b02c51e7b3a50c6a83.zip |
core: Set SECRET flag of subkeys stored on smart cards
* src/keylist.c (parse_sec_field15): Set SECRET flag.
--
Explicitly setting the SECRET flag for subkeys stored on smart cards
makes sure that the flag is also set if GPGME_KEYLIST_MODE_WITH_SECRET
is used when listing OpenPGP keys (as documented in the API
documentation). If secret keys are listed, then the flag is already set
when the packet type is parsed.
GnuPG-bug-id: 5965
Diffstat (limited to 'lang/cpp/src/context.h')
0 files changed, 0 insertions, 0 deletions