aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-04-11 18:24:09 +0000
committerWerner Koch <[email protected]>2005-04-11 18:24:09 +0000
commit73fb1c592fc0cdecee33b4c69566401b9eb16b25 (patch)
treec0696d06c340a5083348d4a6a1254e2bb9251a05 /g10/misc.c
parent* ccid-driver.c (ccid_slot_status): Fixed debug messages. (diff)
downloadgnupg-73fb1c592fc0cdecee33b4c69566401b9eb16b25.tar.gz
gnupg-73fb1c592fc0cdecee33b4c69566401b9eb16b25.zip
* g10.c (main, add_notation_data, add_policy_url)
(add_keyserver_url): Use isascii() to protect the isfoo macros and to replace direct tests. Possible problems noted by Christian Biere. * keyserver.c (parse_keyserver_uri): Ditto. * g10.c (main): Declare --pipemode deprecated. * misc.c (deprecated_command): New.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index a47839248..6e3dbce0b 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -686,6 +686,15 @@ deprecated_warning(const char *configname,unsigned int configlineno,
log_info(_("please use \"%s%s\" instead\n"),repl1,repl2);
}
+
+void
+deprecated_command (const char *name)
+{
+ log_info(_("WARNING: \"%s\" is a deprecated command - do not use it\n"),
+ name);
+}
+
+
const char *
compress_algo_to_string(int algo)
{