Second explicit key not found setting in encrypt message Release_2.1 Release_2.1.7
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Thu, 19 Nov 2020 12:56:18 +0100
branchRelease_2.1
changeset 5199fff112d941e6
parent 5194 85f5f5618d4c
child 5200 991677eb3567
Second explicit key not found setting in encrypt message
src/message_api.c
     1.1 --- a/src/message_api.c	Mon Nov 16 09:59:55 2020 +0100
     1.2 +++ b/src/message_api.c	Thu Nov 19 12:56:18 2020 +0100
     1.3 @@ -1927,6 +1927,7 @@
     1.4              
     1.5              if (status == PEP_CANNOT_FIND_IDENTITY) {
     1.6                  _il->ident->comm_type = PEP_ct_key_not_found;
     1.7 +                *dest_keys_found = false;
     1.8                  status = PEP_STATUS_OK;
     1.9              }
    1.10              // 0 unless set, so safe.