diff options
author | Neal H. Walfield <[email protected]> | 2015-05-06 12:35:22 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-05-07 13:03:24 +0000 |
commit | d3b5cad2346bd5747789dc62d7804fa5c15f4f3b (patch) | |
tree | 2b95f488dcd06b7fc9a3304deb5a9351ff2eff23 /dirmngr/ks-engine-ldap.c | |
parent | gpg: Improve 'General key info' line of --card-status. (diff) | |
download | gnupg-d3b5cad2346bd5747789dc62d7804fa5c15f4f3b.tar.gz gnupg-d3b5cad2346bd5747789dc62d7804fa5c15f4f3b.zip |
agent: Avoid magic numbers. Use more accurate names.
* agent/call-pinentry.c (PINENTRY_STATUS_CLOSE_BUTTON): New constant.
(PINENTRY_STATUS_PIN_REPEATED): Likewise.
(close_button_status_cb): Rename from this...
(pinentry_status_cb): ... to this. Use the constants.
(agent_askpin): Rename local variable from close_button to
pinentry_status. Use symbolic constants rather than magic numbers.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-ldap.c')
0 files changed, 0 insertions, 0 deletions