Allow message reevaluation with null keylist (unencrypted mails)
authorThomas
Tue, 08 Aug 2017 14:46:40 +0200
changeset 2579300cce7cf7b
parent 255 612df53e077a
child 258 794f2468ccec
child 260 07e9a01ce3a8
Allow message reevaluation with null keylist (unencrypted mails)
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Fri Jun 16 23:50:21 2017 +0200
     1.2 +++ b/CpEpEngine.cpp	Tue Aug 08 14:46:40 2017 +0200
     1.3 @@ -947,11 +947,10 @@
     1.4  STDMETHODIMP CpEpEngine::ReEvaluateMessageRating(TextMessage * msg, SAFEARRAY * x_KeyList, pEpRating x_EncStatus, pEpRating *rating)
     1.5  {
     1.6      assert(msg);
     1.7 -    assert(x_KeyList);
     1.8      assert(x_EncStatus != PEP_rating_undefined);
     1.9      assert(rating);
    1.10  
    1.11 -    if (!(msg && x_KeyList && x_EncStatus != PEP_rating_undefined && rating))
    1.12 +    if (!(msg && x_EncStatus != PEP_rating_undefined && rating))
    1.13          return E_INVALIDARG;
    1.14  
    1.15      *rating = pEpRatingUndefined;