fix a segfault introduced by some nasty const /o\
[apps/madmutt.git] / pgpkey.c
index 640f080..3804817 100644 (file)
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -581,7 +581,7 @@ static pgp_key_t pgp_select_key (pgp_key_t keys, ADDRESS * p, const char *s)
       if (option (OPTPGPCHECKTRUST) &&
           (!pgp_id_is_valid (KeyTable[menu->current])
            || !pgp_id_is_strong (KeyTable[menu->current]))) {
-        char *s = "";
+        const char *s = "";
         char buff[LONG_STRING];
 
         if (KeyTable[menu->current]->flags & KEYFLAG_CANTUSE)