ENGINE-96: #comment all calls renamed. Roker is checking out the semantics of the references to 'compromized' to see if they also need to be renamed to 'mistrusted' for consistency within the engine. THIS IS AN API CHANGE AND WILL BREAK ADAPTERS.

doc_update_sequoia
Krista Grothoff 7 years ago
parent df63117ba3
commit 224e210f7c

@ -588,7 +588,7 @@ DYNAMIC_API PEP_STATUS do_keymanagement(
return PEP_STATUS_OK;
}
DYNAMIC_API PEP_STATUS key_compromized(
DYNAMIC_API PEP_STATUS key_mistrusted(
PEP_SESSION session,
pEp_identity *ident
)

@ -116,13 +116,13 @@ DYNAMIC_API PEP_STATUS do_keymanagement(
);
// key_compromized() - mark key as being compromized
// key_mistrusted() - mark key as being compromized
//
// parameters:
// session (in) session to use
// ident (in) person and key which was compromized
DYNAMIC_API PEP_STATUS key_compromized(
DYNAMIC_API PEP_STATUS key_mistrusted(
PEP_SESSION session,
pEp_identity *ident
);
@ -143,7 +143,7 @@ DYNAMIC_API PEP_STATUS trust_personal_key(
);
// key_reset_trust() - undo trust_personal_key and key_compromized() for keys
// key_reset_trust() - undo trust_personal_key and key_mistrusted() for keys
// we don't own
//
// parameters:

@ -801,7 +801,7 @@ DYNAMIC_API PEP_STATUS renew_key(
// caveat:
// reason text must not include empty lines
// this function is meant for internal use only; better use
// key_compromized() of keymanagement API
// key_mistrusted() of keymanagement API
DYNAMIC_API PEP_STATUS revoke_key(
PEP_SESSION session,

@ -39,7 +39,7 @@ int main() {
cout << "revoke \n";
key_compromized(session, me);
key_mistrusted(session, me);
cout << "re-generated fingerprint \n";
cout << me->fpr << "\n";

Loading…
Cancel
Save