aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/app-openpgp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 7ac769b6e..7de067e62 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-18 Werner Koch <[email protected]>
+
+ * app-openpgp.c (parse_algorithm_attribute): Remove extra const in
+ definition of DESC.
+
2010-10-10 Werner Koch <[email protected]>
* keyring.c (create_tmp_file): Use GNUPG_TMP_SFX anf GNUPG_BAK_SFX.
diff --git a/g10/app-openpgp.c b/g10/app-openpgp.c
index 9ab949345..34100b839 100644
--- a/g10/app-openpgp.c
+++ b/g10/app-openpgp.c
@@ -3598,7 +3598,7 @@ parse_algorithm_attribute (app_t app, int keyno)
unsigned char *buffer;
size_t buflen;
void *relptr;
- const char const desc[3][5] = {"sign", "encr", "auth"};
+ const char desc[3][5] = {"sign", "encr", "auth"};
assert (keyno >=0 && keyno <= 2);