Ported changes from 1.4.
[gnupg.git] / g10 / keyedit.c
index 77f4017..1078758 100644 (file)
@@ -1803,7 +1803,7 @@ keyedit_menu( const char *username, strlist_t locusr,
               {
                 tty_printf(
                    _("This command is not allowed while in %s mode.\n"),
-                  RFC2440?"OpenPGP":PGP2?"PGP2":"RFC-1991");
+                  compliance_option_string());
                 break;
               }
            photo=1;