common: Add constant KEYGRIP_LEN.
authorWerner Koch <wk@gnupg.org>
Wed, 27 Sep 2017 07:33:14 +0000 (09:33 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 27 Sep 2017 07:33:14 +0000 (09:33 +0200)
commit76c80021d4da0755dbb04bd5d42f32015cba0b9a
tree98671238c108c63f41dcdc929f9a7a52dc0a54ec
parent6aa4478c78cb34cf3d0ae5c752525110947bd247
common: Add constant KEYGRIP_LEN.

* common/util.h (KEYGRIP_LEN): New.
* g10/call-agent.c (agent_probe_any_secret_key): Use that constant.
* g10/keyid.c (keygrip_from_pk): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/util.h
g10/call-agent.c
g10/keyid.c