2005-07-04 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 4 Jul 2005 04:58:04 +0000 (04:58 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 4 Jul 2005 04:58:04 +0000 (04:58 +0000)
commit53a1347fbebb40a7e37a2751f1d55913dac5d3a2
treedf157c6e10fc61c534f814579ddad1e7e6fc46b4
parent51a164e75270b7e3bdf36b3ffab023592df15fc9
2005-07-04  Marcus Brinkmann  <marcus@g10code.de>

* symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols,
use instead constants.
(hash_string): New function copied from simple-gettext.c.
(confucius_get_pass): Take new argument CACHEID.
(confucius_process): Calculate cacheid and pass it to
confucius_get_pass.  Clear passphrase from cache if necessary.
tools/ChangeLog
tools/symcryptrun.c