From e1046dd40d9b99c8b59dd40af6ebc2007f2af107 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 14 Feb 2018 13:17:52 +0100 Subject: [PATCH] comment --- src/mrmailbox_e2ee.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mrmailbox_e2ee.c b/src/mrmailbox_e2ee.c index 9f3bd7cf..c01d5ad5 100644 --- a/src/mrmailbox_e2ee.c +++ b/src/mrmailbox_e2ee.c @@ -827,7 +827,9 @@ int mrmailbox_e2ee_decrypt(mrmailbox_t* mailbox, struct mailmime* in_out_message *ret_validation_errors = 0; int avoid_deadlock = 10; while( avoid_deadlock > 0 ) { - if( !decrypt_recursive(mailbox, in_out_message, private_keyring, peerstate->m_public_key, ret_validation_errors, &gossip_headers) ) { + if( !decrypt_recursive(mailbox, in_out_message, private_keyring, + peerstate->m_public_key, /* never use gossip_key for validation - if we get a mail to validate from the user, we normally also have the public_key */ + ret_validation_errors, &gossip_headers) ) { break; } sth_decrypted = 1;