Fix naming sync
authorThomas
Fri, 31 May 2019 07:43:40 +0200
branchsync
changeset 345f2b42054be54
parent 344 912bd7a2ecb5
child 346 384c761a7cd9
Fix naming
CpEpEngine.cpp
CpEpEngine.h
     1.1 --- a/CpEpEngine.cpp	Tue May 28 15:26:06 2019 +0200
     1.2 +++ b/CpEpEngine.cpp	Fri May 31 07:43:40 2019 +0200
     1.3 @@ -739,12 +739,12 @@
     1.4  	return S_OK;
     1.5  }
     1.6  
     1.7 -STDMETHODIMP CpEpEngine::KeyResetUser(BSTR userId, BSTR keyId)
     1.8 +STDMETHODIMP CpEpEngine::KeyResetUser(BSTR userId, BSTR fpr)
     1.9  {
    1.10  	string _userId = utf8_string(userId);
    1.11 -	string _keyId = utf8_string(keyId);
    1.12 +	string _fpr = utf8_string(fpr);
    1.13  
    1.14 -	PEP_STATUS status = ::key_reset_user(session(), _userId.c_str(), _keyId.c_str());
    1.15 +	PEP_STATUS status = ::key_reset_user(session(), _userId.c_str(), _fpr.c_str());
    1.16  
    1.17  	if (status == PEP_OUT_OF_MEMORY)
    1.18  		return E_OUTOFMEMORY;
     2.1 --- a/CpEpEngine.h	Tue May 28 15:26:06 2019 +0200
     2.2 +++ b/CpEpEngine.h	Fri May 31 07:43:40 2019 +0200
     2.3 @@ -202,8 +202,8 @@
     2.4      STDMETHOD(Myself)(struct pEpIdentity *ident, struct pEpIdentity *result);
     2.5      STDMETHOD(UpdateIdentity)(struct pEpIdentity *ident, struct pEpIdentity *result);
     2.6      STDMETHOD(KeyMistrusted)(struct pEpIdentity *ident);
     2.7 -	STDMETHOD(KeyResetIdentity)(pEpIdentity ident, BSTR keyId);
     2.8 -	STDMETHOD(KeyResetUser)(BSTR userId, BSTR keyId);
     2.9 +	STDMETHOD(KeyResetIdentity)(pEpIdentity ident, BSTR fpr);
    2.10 +	STDMETHOD(KeyResetUser)(BSTR userId, BSTR fpr);
    2.11  	STDMETHOD(KeyResetAllOwnKeys)();
    2.12      STDMETHOD(KeyResetTrust)(struct pEpIdentity *ident);
    2.13      STDMETHOD(TrustPersonalKey)(struct pEpIdentity *ident, struct pEpIdentity *result);