From 74e99d43769396d32820fa9c233ed7c541b13820 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 6 Apr 2020 16:34:32 +0200 Subject: openpgp: Rename VerificationHelper::get_public_keys to get_certs. --- openpgp-ffi/examples/decrypt-with.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openpgp-ffi/examples') diff --git a/openpgp-ffi/examples/decrypt-with.c b/openpgp-ffi/examples/decrypt-with.c index b6fff7b1..8bdb2d9d 100644 --- a/openpgp-ffi/examples/decrypt-with.c +++ b/openpgp-ffi/examples/decrypt-with.c @@ -26,7 +26,7 @@ struct decrypt_cookie { }; static pgp_status_t -get_public_keys_cb (void *cookie_raw, +get_certs_cb (void *cookie_raw, pgp_keyid_t *keyids, size_t keyids_len, pgp_cert_t **certs, size_t *cert_len, void (**our_free)(void *)) @@ -236,7 +236,7 @@ main (int argc, char **argv) .decrypt_called = 0, }; plaintext = pgp_decryptor_new (&err, policy, source, - get_public_keys_cb, decrypt_cb, + get_certs_cb, decrypt_cb, check_cb, NULL, &cookie, 0); if (! plaintext) error (1, 0, "pgp_decryptor_new: %s", pgp_error_to_string (err)); -- cgit v1.2.3