ENGINE-329: gpg implementation of first-time import of ultimately trusted keys is in. Apparently, netpgp bluffs trust completely, so a stub is in here for them instead. Too bad :(
1 // This file is under GNU General Public License 3.0
4 #include "pEp_internal.h"
5 #include "dynamic_api.h"
6 #include "openpgp_compat.h"
8 DYNAMIC_API PEP_STATUS OpenPGP_list_keyinfo (
9 PEP_SESSION session, const char* search_pattern, stringpair_list_t** keyinfo_list
15 if (!(session && keyinfo_list))
16 return PEP_ILLEGAL_VALUE;
18 stringpair_list_t* _keyinfo_list = NULL;
20 PEP_STATUS retval = pgp_list_keyinfo(session, search_pattern, &_keyinfo_list);
22 if (retval == PEP_STATUS_OK)
23 *keyinfo_list = _keyinfo_list;