JSON-117 : add trust_own_key().

JSON-107-01
Roker 4 years ago
parent d073634df1
commit e1bfc9b772

@ -147,6 +147,7 @@ const FunctionMap functions = {
FP( "update_identity", new Func<PEP_STATUS, In_Pep_Session, InOut<pEp_identity*>> ( &update_identity) ),
FP( "trust_personal_key", new Func<PEP_STATUS, In_Pep_Session, In<pEp_identity*>>( &trust_personal_key) ),
FP( "trust_own_key", new Func<PEP_STATUS, In_Pep_Session, In<pEp_identity*>>( &trust_own_key) ),
FP( "key_mistrusted", new Func<PEP_STATUS, In_Pep_Session, In<pEp_identity*>>( &key_mistrusted) ),
FP( "key_reset_trust", new Func<PEP_STATUS, In_Pep_Session, In<pEp_identity*>>( &key_reset_trust) ),

@ -85,10 +85,12 @@ const ServerVersion& server_version()
#ifdef ENIGMAIL_2_0_COMPAT
//const ServerVersion sv(0,14,1); // JSON-97 : make MIME_decrypt_message() API-compatible with pre-JSON-92's changes for Enigmail 2.0
static const ServerVersion sv(0,14,3); // JSON-110: add encrypt_message_and_add_priv_key()
//static const ServerVersion sv(0,14,3); // JSON-110: add encrypt_message_and_add_priv_key()
static const ServerVersion sv(0,14,4); // JSON-117: add trust_own_key()
#else
//const ServerVersion sv(0,15,2); // JSON-93 InLength<> is a compatible API change, because length parameter is still there but ignored. :-)
static const ServerVersion sv(0,15,3); // JSON-110: add encrypt_message_and_add_priv_key()
//static const ServerVersion sv(0,15,3); // JSON-110: add encrypt_message_and_add_priv_key()
static const ServerVersion sv(0,15,4); // JSON-117: add trust_own_key()
#endif // ENIGMAIL_2_0_COMPAT
return sv;

Loading…
Cancel
Save