From: Nikos Mavrogiannopoulos Date: Mon, 20 Apr 2015 14:31:55 +0000 (+0200) Subject: gnutls-cli: when a certificate is specified require the corresponding private key X-Git-Tag: gnutls_3_4_1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2de7b899e3710d967283624ddba4cce29be164dc;p=thirdparty%2Fgnutls.git gnutls-cli: when a certificate is specified require the corresponding private key --- diff --git a/src/cli-args.def b/src/cli-args.def index 1edcc310ef..7f6d13fba6 100644 --- a/src/cli-args.def +++ b/src/cli-args.def @@ -210,6 +210,7 @@ flag = { file-exists = yes; descrip = "PGP Public Key (certificate) file to use"; doc = ""; + flags-must = pgpkeyfile; }; flag = { @@ -224,6 +225,7 @@ flag = { arg-type = string; descrip = "X.509 Certificate file or PKCS #11 URL to use"; doc = ""; + flags-must = x509keyfile; }; flag = {