From: Nikos Mavrogiannopoulos Date: Thu, 15 May 2014 12:01:56 +0000 (+0200) Subject: Do not use autogen's file option for input parameters. X-Git-Tag: gnutls_3_3_3~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45f3f614a37bbf7d152ce9b4342391c5414f97f6;p=thirdparty%2Fgnutls.git 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. --- 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"; };