]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
dhparams have now the 'r' option.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 13 Aug 2011 19:39:41 +0000 (21:39 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 13 Aug 2011 19:39:41 +0000 (21:39 +0200)
src/crywrap/crywrap.c

index be2aff3b80a560bfee0c61d73a44aabdec474d8b..1a46e5b03d2f4bda104052943b010ba5e01fb253 100644 (file)
@@ -156,7 +156,7 @@ static const struct argp_option _crywrap_options[] = {
   {"verify", 'v', "LEVEL", OPTION_ARG_OPTIONAL,
    "Verify clients certificate (1: verify if exists, 2: require)", 2},
   {NULL, 0, NULL, 0, "Other options:", 3},
-  {"dhparams", 'h', "FILE", 0, "Diffie Hellman (PKCS #3) parameters file", 3},
+  {"dhparams", 'r', "FILE", 0, "Diffie Hellman (PKCS #3) parameters file", 3},
   {"user", 'u', "UID", 0, "User ID to run as", 3},
   {"pidfile", 'P', "PATH", 0, "File to log the PID into", 3},
   {"priority", 'p', "STRING", 0, "GnuTLS ciphersuite priority string", 3},
@@ -392,7 +392,7 @@ _crywrap_config_parse_opt (int key, char *arg, struct argp_state *state)
       else
        cfg->pidfile = NULL;
       break;
-    case 'h':
+    case 'r':
       if (arg && *arg)
         {
          dh_file = load_file(arg);