summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-23 11:04:06 +0200
committerLudovic Courtès <ludo@gnu.org>2009-09-23 11:08:17 +0200
commit1dc068cb9c86df9c305502ae7a4522b1515e8c42 (patch)
treef22a7541680ae0e7451c836c8dc2ef8aeabfed73 /guile
parenta75e936f4c4f4ca276c7792dc978844aaa719c29 (diff)
downloadgnutls-1dc068cb9c86df9c305502ae7a4522b1515e8c42.tar.gz
Update Guile bindings to the current OpenPGP API.
* guile/src/extra.c (scm_gnutls_openpgp_certificate_id, scm_gnutls_openpgp_certificate_id_x): Use the newer `gnutls_openpgp_crt_get_key_id ()'.
Diffstat (limited to 'guile')
-rw-r--r--guile/src/extra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/guile/src/extra.c b/guile/src/extra.c
index 6faad3a843..f8f4fdb5a3 100644
--- a/guile/src/extra.c
+++ b/guile/src/extra.c
@@ -170,7 +170,7 @@ SCM_DEFINE (scm_gnutls_openpgp_certificate_id, "openpgp-certificate-id",
if (c_id == NULL)
scm_gnutls_error (GNUTLS_E_MEMORY_ERROR, FUNC_NAME);
- err = gnutls_openpgp_crt_get_id (c_key, c_id);
+ err = gnutls_openpgp_crt_get_key_id (c_key, c_id);
if (EXPECT_FALSE (err))
scm_gnutls_error (err, FUNC_NAME);
@@ -202,7 +202,7 @@ SCM_DEFINE (scm_gnutls_openpgp_certificate_id_x, "openpgp-certificate-id!",
scm_misc_error (FUNC_NAME, "ID vector too small: ~A", scm_list_1 (id));
}
- err = gnutls_openpgp_crt_get_id (c_key, (unsigned char *) c_id);
+ err = gnutls_openpgp_crt_get_key_id (c_key, (unsigned char *) c_id);
scm_gnutls_release_array (&c_id_handle);
if (EXPECT_FALSE (err))