diff options
author | Daniel Kahn Gillmor <[email protected]> | 2015-12-09 18:01:04 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-01-06 14:05:21 +0000 |
commit | 2c3e67430d9b523c85c81ae562223fd51e3608cc (patch) | |
tree | 02653589ae7fdba22ac1554a79bb868d8c1eb762 /g10/call-dirmngr.c | |
parent | gpg: Silence some regression tests. (diff) | |
download | gnupg-2c3e67430d9b523c85c81ae562223fd51e3608cc.tar.gz gnupg-2c3e67430d9b523c85c81ae562223fd51e3608cc.zip |
Fix keystrlen to work when OPT.KEYID_FORMAT is KF_DEFAULT.
* g10/keyid.c (keystrlen): If opt.keyid_format is KF_DEFAULT unset,
default to KF_SHORT.
(format_keyid): Default to KF_SHORT, not KF_0xLONG.
--
Without this fix, gpgv2 fails with:
gpgv: Ohhhh jeeee: ... this is a bug (keyid.c:342:keystrlen)
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/call-dirmngr.c')
0 files changed, 0 insertions, 0 deletions