diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-05-15 14:01:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-05-15 14:03:28 +0200 |
commit | 45f3f614a37bbf7d152ce9b4342391c5414f97f6 (patch) | |
tree | 614ea4c36da8664b6c7f9dec73a802b987d54b36 /src | |
parent | f788dd01740dd0c342d4ac9daed2062ae1989abb (diff) | |
download | gnutls-45f3f614a37bbf7d152ce9b4342391c5414f97f6.tar.gz |
Do not use autogen's file option for input parameters.
Instead use a string. We check the file for validity and autogen's
check was imposing rules such as normal file (as opposed to a device),
that were not needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/certtool-args.def | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/certtool-args.def b/src/certtool-args.def index 93b5d31659..93dd1da581 100644 --- a/src/certtool-args.def +++ b/src/certtool-args.def @@ -118,8 +118,7 @@ flag = { flag = { name = load-request; descrip = "Loads a certificate request file"; - arg-type = file; - file-exists = yes; + arg-type = string; doc = ""; }; @@ -364,8 +363,7 @@ flag = { flag = { name = template; - arg-type = file; - file-exists = yes; + arg-type = string; descrip = "Template file to use for non-interactive operation"; doc = ""; }; @@ -387,8 +385,7 @@ flag = { flag = { name = provider; - arg-type = file; - file-exists = yes; + arg-type = string; descrip = "Specify the PKCS #11 provider library"; doc = "This will override the default options in /etc/gnutls/pkcs11.conf"; }; |