agent: Cleanup caching code for command GET_PASSPHRASE.
authorWerner Koch <wk@gnupg.org>
Wed, 20 May 2015 14:13:55 +0000 (16:13 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 20 May 2015 14:14:22 +0000 (16:14 +0200)
commit23d2ef83cda644c6a83499f9327350d3371e8a17
tree12de33c99ab22f2eaea4969d630ffcd348a90086
parent3a9305439b75ccd4446378d4fd87da087fd9c892
agent: Cleanup caching code for command GET_PASSPHRASE.

* agent/command.c (cmd_get_passphrase): Read from the user cache.
--

We used to read the passphrase with mode CACHE_MODE_NORMAL but we put
it into the cache with CACHE_MODE_USER.  However, agent_get_cache does
not yet distinguish between them and thus this does not change
anything.
agent/command.c