From 88f15336ec0eadde68ff2618349efb9006b8e801 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 8 May 2014 20:39:15 +0200 Subject: Add field CURVE to the key info. * src/gpgme.h.in (struct _gpgme_subkey): Add field CURVE. * src/key.c (gpgme_key_unref): Free CURVE. * src/keylist.c (keylist_colon_handler): Set CURVE. * src/gpgme.c (gpgme_release): For failsafe reasons reset engine and engine info after freeing. -- The engine hack is useful in case the other release functions accidently call engine release. --- doc/gpgme.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 9a67c3b5..e3265740 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -2742,6 +2742,10 @@ True if the secret key is stored on a smart card. @item char *card_number The serial number of a smart card holding this key or @code{NULL}. + +@item char *curve +For ECC algoritms the name of the curve. + @end table @end deftp -- cgit v1.2.3