From 5b331c0b7ac7721cf0de5a95e5ff3d252c429b70 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 23 Aug 2021 13:51:25 +0200 Subject: [PATCH] Better document the remaining stubs. --- src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index c46cdd2..65c175e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1754,11 +1754,19 @@ ffi!(fn pgp_export_keydata(session: *mut Session, Ok(()) }); +// XXX: The engine does not use this function directly +// (OpenPGP_list_keyinfo is a thin wrapper) and there are no unit +// tests that exercise it. Once there are unit tests, we can add an +// implementation. +// // PEP_STATUS pgp_list_keyinfo(PEP_SESSION session, // const char* pattern, // stringpair_list_t** keyinfo_list) stub!(pgp_list_keyinfo); +// The sequoia backend has never implemented this function, and the +// engine does not currently use it. +// // PEP_STATUS pgp_recv_key(PEP_SESSION session, const char *pattern) stub!(pgp_recv_key); @@ -1826,6 +1834,9 @@ ffi!(fn pgp_find_private_keys(session: *mut Session, list_keys(session, pattern, keylistp, true) }); +// The sequoia backend has never implemented this function, and the +// engine does not currently use it. +// // PEP_STATUS pgp_send_key(PEP_SESSION session, const char *pattern) stub!(pgp_send_key);