diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-09-01 16:18:31 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-09-01 16:18:31 +0200 |
commit | 6db6f35be8efa8d9a2618b72bd4de20edc4bc76a (patch) | |
tree | a0d833aba0c5996d7e0af7522f14a65ce61d90fd /includes | |
parent | 8be57c7903731a3180d79d62b6c41a97e6333ef5 (diff) | |
download | gnutls-6db6f35be8efa8d9a2618b72bd4de20edc4bc76a.tar.gz |
Add gnutls_pk_list and gnutls_pk_get_id.
Suggested by Sam Varshavchik <mrsam@courier-mta.com>.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/gnutls.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in index 7141c8b064..54310378ec 100644 --- a/includes/gnutls/gnutls.h.in +++ b/includes/gnutls/gnutls.h.in @@ -415,7 +415,7 @@ extern "C" gnutls_kx_algorithm_t gnutls_kx_get_id (const char* name); gnutls_protocol_t gnutls_protocol_get_id (const char* name); gnutls_certificate_type_t gnutls_certificate_type_get_id (const char* name); - + gnutls_pk_algorithm_t gnutls_pk_get_id (const char *name); /* list supported algorithms */ const gnutls_cipher_algorithm_t *gnutls_cipher_list (void); @@ -424,6 +424,7 @@ extern "C" const gnutls_protocol_t *gnutls_protocol_list (void); const gnutls_certificate_type_t *gnutls_certificate_type_list (void); const gnutls_kx_algorithm_t *gnutls_kx_list (void); + const gnutls_pk_algorithm_t *gnutls_pk_list (void); const char *gnutls_cipher_suite_info (size_t i, char *id, gnutls_kx_algorithm_t *kx, |