]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
systemkey: corrected help output
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 18 May 2016 11:39:06 +0000 (13:39 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 18 May 2016 11:39:06 +0000 (13:39 +0200)
src/systemkey-args.def
src/systemkey.c

index 7753b1fd3ba547789258130cdfb8b115a8954ff0..aca76ee323128a42bcc7c67f23f9561351d56cbf 100644 (file)
@@ -12,7 +12,7 @@ explain       = "";
 
 flag = {
     name      = list;
-    descrip   = "Lists all stored keys in the TPM";
+    descrip   = "Lists all stored keys.";
     doc = "";
 };
 
@@ -20,7 +20,7 @@ flag = {
     name      = delete;
     arg-type  = string;
     arg-name  = "url";
-    descrip   = "Delete the key identified by the given URL (UUID).";
+    descrip   = "Delete the key identified by the given URL.";
     doc      = "";
 };
 
@@ -29,9 +29,7 @@ flag = {
     descrip   = "Use the DER format for keys.";
     disabled;
     disable   = "no";
-    doc       = "The input files will be assumed to be in the portable
-DER format of TPM. The default format is a custom format used by various
-TPM tools";
+    doc       = "The input files will be assumed to be in DER format.";
 };
 
 flag = {
@@ -39,7 +37,7 @@ flag = {
     descrip   = "Use DER format for output keys";
     disabled;
     disable   = "no";
-    doc       = "The output will be in the TPM portable DER format.";
+    doc       = "The output will be in DER format.";
 };
 
 doc-section = {
index fe89a82484d6dd695aa41045204faa1d9ccec568..7affc2ccbb1a0c20add822148a086bd354d64fe5 100644 (file)
@@ -90,18 +90,18 @@ static void cmd_parser(int argc, char **argv)
 
        if (HAVE_OPT(INDER)) {
                incert_format = GNUTLS_X509_FMT_DER;
-               inkey_format = GNUTLS_TPMKEY_FMT_DER;
+               inkey_format = GNUTLS_X509_FMT_DER;
        } else {
                incert_format = GNUTLS_X509_FMT_PEM;
-               inkey_format = GNUTLS_TPMKEY_FMT_CTK_PEM;
+               inkey_format = GNUTLS_X509_FMT_PEM;
        }
 
        if (HAVE_OPT(OUTDER)) {
                outcert_format = GNUTLS_X509_FMT_DER;
-               outkey_format = GNUTLS_TPMKEY_FMT_DER;
+               outkey_format = GNUTLS_X509_FMT_DER;
        } else {
                outcert_format = GNUTLS_X509_FMT_PEM;
-               outkey_format = GNUTLS_TPMKEY_FMT_CTK_PEM;
+               outkey_format = GNUTLS_X509_FMT_PEM;
        }
 
        if (HAVE_OPT(OUTFILE)) {