summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-08-13 21:39:41 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-08-13 21:39:41 +0200
commitc94124a582aa3f7219e6a071b9f5576f9be79bb7 (patch)
tree2b952fb5153688f4e3758aee73a492564a384f0b /src
parent29312015b1677b28df92ee1d6acbbb2863cdacc2 (diff)
downloadgnutls-c94124a582aa3f7219e6a071b9f5576f9be79bb7.tar.gz
dhparams have now the 'r' option.
Diffstat (limited to 'src')
-rw-r--r--src/crywrap/crywrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crywrap/crywrap.c b/src/crywrap/crywrap.c
index be2aff3b80..1a46e5b03d 100644
--- a/src/crywrap/crywrap.c
+++ b/src/crywrap/crywrap.c
@@ -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);