PEP_ct_my_key_not_included for passive mode
authorVolker Birk <vb@pep-project.org>
Mon, 22 Feb 2016 18:06:19 +0100
changeset 472cdfe98563d7e
parent 469 c0f88f70425b
child 473 0d6b5ea34040
PEP_ct_my_key_not_included for passive mode
src/message_api.c
     1.1 --- a/src/message_api.c	Mon Feb 22 14:48:29 2016 +0100
     1.2 +++ b/src/message_api.c	Mon Feb 22 18:06:19 2016 +0100
     1.3 @@ -649,7 +649,8 @@
     1.4      else if (ct >= PEP_ct_strong_but_unconfirmed && ct < PEP_ct_confirmed)
     1.5          return PEP_rating_reliable;
     1.6  
     1.7 -    else if (ct == PEP_ct_no_encryption || ct == PEP_ct_no_encrypted_channel)
     1.8 +    else if (ct == PEP_ct_no_encryption || ct == PEP_ct_no_encrypted_channel ||
     1.9 +            ct == PEP_ct_my_key_not_included)
    1.10          return PEP_rating_unencrypted;
    1.11  
    1.12      else