Browse Source

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 6 years ago
parent
commit
224e210f7c
4 changed files with 6 additions and 6 deletions
  1. +1
    -1
      src/keymanagement.c
  2. +3
    -3
      src/keymanagement.h
  3. +1
    -1
      src/pEpEngine.h
  4. +1
    -1
      test/revoke_regen_attach_test.cc

+ 1
- 1
src/keymanagement.c View File

@ -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
)


+ 3
- 3
src/keymanagement.h View File

@ -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:


+ 1
- 1
src/pEpEngine.h View File

@ -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,


+ 1
- 1
test/revoke_regen_attach_test.cc View File

@ -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