diff options
author | Nikos <nmav@crystal.(none)> | 2008-01-14 08:33:23 +0200 |
---|---|---|
committer | Nikos <nmav@crystal.(none)> | 2008-01-14 08:33:23 +0200 |
commit | dc4b410f7d06b7a77716d9c297c6c418d86d41d1 (patch) | |
tree | 22e0000e23bdb82d9bf5d53a2653d02d99239188 /src/certtool.c | |
parent | 88c3c3b1a3fdc55936f97fbc632a90e51e11355d (diff) | |
download | gnutls-dc4b410f7d06b7a77716d9c297c6c418d86d41d1.tar.gz |
openpgp_privkey_export() has parameters to export encrypted secret keys. Added for future compatibility.
Diffstat (limited to 'src/certtool.c')
-rw-r--r-- | src/certtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool.c b/src/certtool.c index eb0dfb6a50..6c620f4e9b 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -1191,7 +1191,7 @@ pgp_privkey_info (void) size = sizeof (buffer); ret = gnutls_openpgp_privkey_export (key, GNUTLS_OPENPGP_FMT_BASE64, - buffer, &size); + NULL, 0, buffer, &size); if (ret < 0) error (EXIT_FAILURE, 0, "Export error: %s", gnutls_strerror (ret)); |