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. ENGINE-96
authorKrista Grothoff <krista@pep-project.org>
Wed, 28 Sep 2016 13:49:12 +0200
branchENGINE-96
changeset 1213a2e69db48026
parent 1206 5eb41656c641
child 1214 14d0f66604df
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.
src/keymanagement.c
src/keymanagement.h
src/pEpEngine.h
test/revoke_regen_attach_test.cc
     1.1 --- a/src/keymanagement.c	Tue Sep 27 23:26:41 2016 +0200
     1.2 +++ b/src/keymanagement.c	Wed Sep 28 13:49:12 2016 +0200
     1.3 @@ -588,7 +588,7 @@
     1.4      return PEP_STATUS_OK;
     1.5  }
     1.6  
     1.7 -DYNAMIC_API PEP_STATUS key_compromized(
     1.8 +DYNAMIC_API PEP_STATUS key_mistrusted(
     1.9          PEP_SESSION session,
    1.10          pEp_identity *ident
    1.11      )
     2.1 --- a/src/keymanagement.h	Tue Sep 27 23:26:41 2016 +0200
     2.2 +++ b/src/keymanagement.h	Wed Sep 28 13:49:12 2016 +0200
     2.3 @@ -116,13 +116,13 @@
     2.4      );
     2.5  
     2.6  
     2.7 -// key_compromized() - mark key as being compromized
     2.8 +// key_mistrusted() - mark key as being compromized
     2.9  //
    2.10  //  parameters:
    2.11  //      session (in)        session to use
    2.12  //      ident (in)          person and key which was compromized
    2.13  
    2.14 -DYNAMIC_API PEP_STATUS key_compromized(
    2.15 +DYNAMIC_API PEP_STATUS key_mistrusted(
    2.16          PEP_SESSION session,
    2.17          pEp_identity *ident
    2.18      );
    2.19 @@ -143,7 +143,7 @@
    2.20      );
    2.21  
    2.22  
    2.23 -// key_reset_trust() - undo trust_personal_key and key_compromized() for keys
    2.24 +// key_reset_trust() - undo trust_personal_key and key_mistrusted() for keys
    2.25  //                     we don't own
    2.26  //
    2.27  //  parameters:
     3.1 --- a/src/pEpEngine.h	Tue Sep 27 23:26:41 2016 +0200
     3.2 +++ b/src/pEpEngine.h	Wed Sep 28 13:49:12 2016 +0200
     3.3 @@ -801,7 +801,7 @@
     3.4  //  caveat:
     3.5  //      reason text must not include empty lines
     3.6  //      this function is meant for internal use only; better use
     3.7 -//      key_compromized() of keymanagement API
     3.8 +//      key_mistrusted() of keymanagement API
     3.9  
    3.10  DYNAMIC_API PEP_STATUS revoke_key(
    3.11          PEP_SESSION session,
     4.1 --- a/test/revoke_regen_attach_test.cc	Tue Sep 27 23:26:41 2016 +0200
     4.2 +++ b/test/revoke_regen_attach_test.cc	Wed Sep 28 13:49:12 2016 +0200
     4.3 @@ -39,7 +39,7 @@
     4.4      
     4.5      cout << "revoke \n";
     4.6      
     4.7 -    key_compromized(session, me);
     4.8 +    key_mistrusted(session, me);
     4.9  
    4.10      cout << "re-generated fingerprint \n";
    4.11      cout << me->fpr << "\n";