diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-20 17:32:25 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-20 17:51:22 +0100 |
commit | 0e5683ada58ddb14969ea7aa3113de2f843eb38d (patch) | |
tree | 861a50bee149c03cbee249c1fe675a672744f309 /src/tpmtool.c | |
parent | 5653b4db4ee6ae5a8600ecacaedb577080dac0d4 (diff) | |
download | gnutls-0e5683ada58ddb14969ea7aa3113de2f843eb38d.tar.gz |
Several updates in certificate/public key printing.
* Added GNUTLS_CRT_PRINT_FULL_NUMBERS to print bignumbers in an easier to parse format.
* Added gnutls_pubkey_import_x509_crq() to convert a certificate request to a public key.
* Added gnutls_pubkey_print() to simplify public key printing.
* certtool's pubkey-info can be combined with --load-request.
* Added --numbers option to certtool which prints big numbers in an easier to parser format.
Diffstat (limited to 'src/tpmtool.c')
-rw-r--r-- | src/tpmtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tpmtool.c b/src/tpmtool.c index 9f21d06d06..b4a0253b73 100644 --- a/src/tpmtool.c +++ b/src/tpmtool.c @@ -284,7 +284,7 @@ static void tpm_pubkey(const char* url, FILE* outfile) if (ret < 0) error (EXIT_FAILURE, 0, "gnutls_pubkey_import_tpm_url: %s", gnutls_strerror (ret)); - _pubkey_info(outfile, pubkey); + _pubkey_info(outfile, GNUTLS_CRT_PRINT_FULL, pubkey); gnutls_pubkey_deinit(pubkey); } |