reset_trust -> key_reset_trust
authorEdouard Tisserant
Fri, 15 Jan 2016 00:34:23 +0100
changeset 5585cfd1d8eeee
parent 54 5e276ecb107e
child 56 fb5f7a67a703
reset_trust -> key_reset_trust
CpEpEngine.cpp
CpEpEngine.h
pEpCOMServerAdapter.idl
     1.1 --- a/CpEpEngine.cpp	Thu Jan 14 22:50:32 2016 +0100
     1.2 +++ b/CpEpEngine.cpp	Fri Jan 15 00:34:23 2016 +0100
     1.3 @@ -807,7 +807,7 @@
     1.4      return S_OK;
     1.5  }
     1.6  
     1.7 -STDMETHODIMP CpEpEngine::reset_trust(struct pEp_identity_s *ident)
     1.8 +STDMETHODIMP CpEpEngine::key_reset_trust(struct pEp_identity_s *ident)
     1.9  {
    1.10      ::pEp_identity *_ident;
    1.11  
    1.12 @@ -823,7 +823,7 @@
    1.13          return E_FAIL;
    1.14      }
    1.15  
    1.16 -    PEP_STATUS status = ::reset_trust(get_session(), _ident->fpr);
    1.17 +    PEP_STATUS status = ::key_reset_trust(get_session(), _ident);
    1.18      free_identity(_ident);
    1.19  
    1.20      if (status == PEP_OUT_OF_MEMORY)
     2.1 --- a/CpEpEngine.h	Thu Jan 14 22:50:32 2016 +0100
     2.2 +++ b/CpEpEngine.h	Fri Jan 15 00:34:23 2016 +0100
     2.3 @@ -156,7 +156,7 @@
     2.4      STDMETHOD(myself)(struct pEp_identity_s *ident, struct pEp_identity_s *result);
     2.5      STDMETHOD(update_identity)(struct pEp_identity_s *ident, struct pEp_identity_s *result);
     2.6      STDMETHOD(key_compromized)(struct pEp_identity_s *ident);
     2.7 -    STDMETHOD(reset_trust)(struct pEp_identity_s *ident);
     2.8 +    STDMETHOD(key_reset_trust)(struct pEp_identity_s *ident);
     2.9      STDMETHOD(trust_personal_key)(struct pEp_identity_s *ident, struct pEp_identity_s *result);
    2.10  
    2.11      // Message API
     3.1 --- a/pEpCOMServerAdapter.idl	Thu Jan 14 22:50:32 2016 +0100
     3.2 +++ b/pEpCOMServerAdapter.idl	Fri Jan 15 00:34:23 2016 +0100
     3.3 @@ -122,7 +122,7 @@
     3.4      HRESULT myself([in] struct pEp_identity_s *ident, [out, retval] struct pEp_identity_s *result);
     3.5      HRESULT update_identity([in] struct pEp_identity_s *ident, [out, retval] struct pEp_identity_s *result);
     3.6      HRESULT key_compromized([in] struct pEp_identity_s *ident);
     3.7 -    HRESULT reset_trust([in] struct pEp_identity_s *ident);
     3.8 +    HRESULT key_reset_trust([in] struct pEp_identity_s *ident);
     3.9      HRESULT trust_personal_key([in] struct pEp_identity_s *ident, [out, retval] struct pEp_identity_s *result);
    3.10  
    3.11      // Message API