aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-10-27 11:43:27 +0000
committerWerner Koch <[email protected]>2025-10-27 11:43:27 +0000
commitad0c6c33c3d6fe7ff7cc8c2e73d02ead5788e5b3 (patch)
tree8c2692e19486d7ceab3261a660725ea2a235d4e8 /g10/options.h
parentgpg: Improve/relax the checking of preference options. (diff)
downloadgnupg-ad0c6c33c3d6fe7ff7cc8c2e73d02ead5788e5b3.tar.gz
gnupg-ad0c6c33c3d6fe7ff7cc8c2e73d02ead5788e5b3.zip
gpg: Do not use a default when asking for another output filename.
* g10/options.h (COMPAT_SUGGEST_EMBEDDED_NAME): New. * g10/gpg.c (compatibility_flags): New flags "suggest-embedded-name". * g10/openfile.c (ask_outfile_name): Do not show a default unless the compatibiliy flag is used.
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 5512ecb11..962f45f16 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -404,6 +404,11 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
#define COMPAT_T7014_OLD 2 /* Use initial T7014 test data. */
#define COMPAT_COMPR_KEYS 4 /* Allow import of compressed keys. (T7014) */
#define COMPAT_NO_MANU 8 /* Do not include a "manu" notation. */
+#define COMPAT_SUGGEST_EMBEDDED_NAME 16 /* Show the non-signed
+ * embedded filename as
+ * suggestion. */
+
+
/* Compliance test macros. */
#define GNUPG (opt.compliance==CO_GNUPG || opt.compliance==CO_DE_VS)