From 24c5e57fa117b309093f6e5046afecaaf605fc4c Mon Sep 17 00:00:00 2001 From: Krista 'DarthMama' Bennett Date: Thu, 19 Nov 2020 12:56:18 +0100 Subject: [PATCH] Second explicit key not found setting in encrypt message --- src/message_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/message_api.c b/src/message_api.c index 877a5827..b8816ce7 100644 --- a/src/message_api.c +++ b/src/message_api.c @@ -1927,6 +1927,7 @@ static PEP_STATUS _update_state_for_ident_list( if (status == PEP_CANNOT_FIND_IDENTITY) { _il->ident->comm_type = PEP_ct_key_not_found; + *dest_keys_found = false; status = PEP_STATUS_OK; } // 0 unless set, so safe.