diff options
| author | Werner Koch <[email protected]> | 2005-07-26 19:08:11 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2005-07-26 19:08:11 +0000 |
| commit | a7ea40e4f80bf9dc1a6c3936ad91c890ba12141f (patch) | |
| tree | fc020c214544a9be7aa8f9e2cca51a61c769ed39 /g10/cardglue.c | |
| parent | Preparing a release (diff) | |
| download | gnupg-a7ea40e4f80bf9dc1a6c3936ad91c890ba12141f.tar.gz gnupg-a7ea40e4f80bf9dc1a6c3936ad91c890ba12141f.zip | |
* passphrase.c (agent_get_passphrase): Make sure to release the
saved codeset.
(agent_open): Add arg ORIG_CODESET and switch back to it in case
of error. Changed all callers.
* zh_TW.po, fr.po, cs.po: Updated.
Diffstat (limited to 'g10/cardglue.c')
| -rw-r--r-- | g10/cardglue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/cardglue.c b/g10/cardglue.c index 0e2da279c..14feb4188 100644 --- a/g10/cardglue.c +++ b/g10/cardglue.c @@ -83,7 +83,7 @@ static assuan_error_t learn_status_cb (void *opaque, const char *line); #define ASSUAN_LINELENGTH 100 static assuan_context_t -agent_open (int try) +agent_open (int try, const char *orig_codeset) { return NULL; } @@ -338,7 +338,7 @@ open_card_via_agent (int *scd_available) int rc; *scd_available = 0; - ctx = agent_open (1); + ctx = agent_open (1, NULL); if (!ctx) return NULL; |
