diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/ChangeLog | 6 | ||||
-rw-r--r-- | agent/learncard.c | 2 | ||||
-rw-r--r-- | agent/minip12.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/agent/ChangeLog b/agent/ChangeLog index b8f30e879..db96f11d3 100644 --- a/agent/ChangeLog +++ b/agent/ChangeLog @@ -1,3 +1,9 @@ +2008-12-05 Werner Koch <[email protected]> + + * minip12.c (decrypt_block): Fix const modified of CHARSETS. + * learncard.c (sinfo_cb_parm_s): Remove superflous semicolon. + Reported by Stoyan Angelov. + 2008-11-18 Werner Koch <[email protected]> * gpg-agent.c (make_libversion): New. diff --git a/agent/learncard.c b/agent/learncard.c index 946319432..eab5bd47e 100644 --- a/agent/learncard.c +++ b/agent/learncard.c @@ -76,7 +76,7 @@ struct sinfo_s { typedef struct sinfo_s *SINFO; struct sinfo_cb_parm_s { - int error;; + int error; SINFO info; }; diff --git a/agent/minip12.c b/agent/minip12.c index f9e9f3169..6b65c8c36 100644 --- a/agent/minip12.c +++ b/agent/minip12.c @@ -498,7 +498,7 @@ decrypt_block (const void *ciphertext, unsigned char *plaintext, size_t length, int iter, const char *pw, int cipher_algo, int (*check_fnc) (const void *, size_t)) { - static const char const *charsets[] = { + static const char * const charsets[] = { "", /* No conversion - use the UTF-8 passphrase direct. */ "ISO-8859-1", "ISO-8859-15", |