]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Do not use autogen's file option for input parameters.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 15 May 2014 12:01:56 +0000 (14:01 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 15 May 2014 12:03:28 +0000 (14:03 +0200)
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.

src/certtool-args.def

index 93b5d31659827f51191fc5f95c708781423ad869..93dd1da581c8eca740567ade83706e12bf1e1758 100644 (file)
@@ -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";
 };