aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
Diffstat (limited to 'sm')
-rw-r--r--sm/gpgsm.c6
-rw-r--r--sm/server.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index fa56a39f5..bf5b10243 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -524,17 +524,17 @@ my_strusage( int level )
switch (level)
{
- case 11: p = "gpgsm (GnuPG)";
+ case 11: p = "@GPGSM@ (@GNUPG@)";
break;
case 13: p = VERSION; break;
case 17: p = PRINTABLE_OS_NAME; break;
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
case 1:
- case 40: p = _("Usage: gpgsm [options] [files] (-h for help)");
+ case 40: p = _("Usage: @GPGSM@ [options] [files] (-h for help)");
break;
case 41:
- p = _("Syntax: gpgsm [options] [files]\n"
+ p = _("Syntax: @GPGSM@ [options] [files]\n"
"Sign, check, encrypt or decrypt using the S/MIME protocol\n"
"Default operation depends on the input data\n");
break;
diff --git a/sm/server.c b/sm/server.c
index 385eb538a..74caf6c5c 100644
--- a/sm/server.c
+++ b/sm/server.c
@@ -1294,7 +1294,7 @@ gpgsm_server (certlist_t default_recplist)
if (opt.verbose || opt.debug)
{
char *tmp = NULL;
- const char *s1 = getenv ("GPG_AGENT_INFO");
+ const char *s1 = getenv (GPG_AGENT_INFO_NAME);
if (asprintf (&tmp,
"Home: %s\n"