aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect-tool.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-08-21 08:18:23 +0000
committerWerner Koch <[email protected]>2002-08-21 08:18:23 +0000
commita71981baceb29b93d95fd02845a3168e45ca4cfd (patch)
tree2023b0372e2302cb4ae84d13edcd02fe8d19bba4 /agent/protect-tool.c
parent* options.skel: Document no-include-attributes for keyserver-options. (diff)
downloadgnupg-a71981baceb29b93d95fd02845a3168e45ca4cfd.tar.gz
gnupg-a71981baceb29b93d95fd02845a3168e45ca4cfd.zip
* divert-scd.c (getpin_cb): Pass a more descritive text to the
pinentry. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
Diffstat (limited to 'agent/protect-tool.c')
-rw-r--r--agent/protect-tool.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c
index d9bbf8b4b..b762437a8 100644
--- a/agent/protect-tool.c
+++ b/agent/protect-tool.c
@@ -106,17 +106,17 @@ my_strusage (int level)
const char *p;
switch (level)
{
- case 11: p = "protect-tool (GnuPG)";
+ case 11: p = "gpg-protect-tool (GnuPG)";
break;
case 13: p = VERSION; break;
case 17: p = PRINTABLE_OS_NAME; break;
case 19: p = _("Please report bugs to <" PACKAGE_BUGREPORT ">.\n");
break;
case 1:
- case 40: p = _("Usage: protect-tool [options] (-h for help)\n");
+ case 40: p = _("Usage: gpg-protect-tool [options] (-h for help)\n");
break;
- case 41: p = _("Syntax: protect-tool [options] [args]]\n"
- "INTERNAL USE ONLY!\n");
+ case 41: p = _("Syntax: gpg-protect-tool [options] [args]]\n"
+ "Secret key maintenance tool\n");
break;
default: p = NULL;
@@ -812,13 +812,13 @@ main (int argc, char **argv )
set_strusage (my_strusage);
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
- log_set_prefix ("protect-tool", 1);
+ log_set_prefix ("gpg-protect-tool", 1);
i18n_init ();
- if (!gcry_check_version ( "1.1.5" ) )
+ if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) )
{
log_fatal( _("libgcrypt is too old (need %s, have %s)\n"),
- "1.1.5", gcry_check_version (NULL) );
+ NEED_LIBGCRYPT_VERSION, gcry_check_version (NULL) );
}
gcry_set_log_handler (my_gcry_logger, NULL);