summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-04-06 10:36:18 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-04-06 10:36:22 +0200
commita046665a384a728253ad94122dfcbd25a52478c2 (patch)
tree90d4c2b15a415b544b04f864a7f4871d6f0ae7d4
parent99c707a11e8b88d032b39696c02ed2f4e8ae3432 (diff)
downloadgnutls-a046665a384a728253ad94122dfcbd25a52478c2.tar.gz
certtool: key-type desc was moved along the privkey functionality [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--src/certtool-args.def18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/certtool-args.def b/src/certtool-args.def
index 81bb30fe06..37dd026c85 100644
--- a/src/certtool-args.def
+++ b/src/certtool-args.def
@@ -196,6 +196,15 @@ option is also acceptable.";
};
flag = {
+ name = key-type;
+ arg-type = string;
+ descrip = "Specify the key type to use on key generation";
+ doc = "This option can be combined with --generate-privkey, to specify
+ the key type to be generated. Valid options are, 'rsa', 'rsa-pss',
+'dsa', 'ecdsa', and 'ed25519'.";
+};
+
+flag = {
name = bits;
arg-type = number;
descrip = "Specify the number of bits for key generation";
@@ -568,15 +577,6 @@ flag = {
};
flag = {
- name = key-type;
- arg-type = string;
- descrip = "Specify the key type to use on key generation";
- doc = "This option can be combined with --generate-privkey, to specify
- the key type to be generated. Valid options are, 'rsa', 'rsa-pss',
-'dsa', 'ecdsa', and 'ed25519'.";
-};
-
-flag = {
name = hash;
arg-type = string;
descrip = "Hash algorithm to use for signing";