get_message_trustwords() needed anyhow. Backed out changeset 06560cae1d20.
authorEdouard Tisserant <edouard@pep-project.org>
Thu, 19 Jan 2017 16:52:43 +0100
changeset 15493c3cef4e9a42
parent 1547 6c7051a7f0d5
child 1551 78c0e9b079a0
child 1552 f67918d42218
get_message_trustwords() needed anyhow. Backed out changeset 06560cae1d20.
src/message_api.c
     1.1 --- a/src/message_api.c	Wed Jan 18 17:34:37 2017 +0100
     1.2 +++ b/src/message_api.c	Thu Jan 19 16:52:43 2017 +0100
     1.3 @@ -1922,15 +1922,6 @@
     1.4                         status = PEP_STATUS_OK;
     1.5                      if (status != PEP_STATUS_OK)
     1.6                          goto pep_error;
     1.7 -
     1.8 -                    // insert signer's in sender identity so that that new
     1.9 -                    // fpr has a chance to be used for trustwords computation
    1.10 -                    // when hanshaking after receiving message  
    1.11 -                    free(msg->from->fpr);
    1.12 -                    msg->from->fpr = strdup(fpr);
    1.13 -                    assert(msg->from->fpr);
    1.14 -                    if (msg->from->fpr == NULL)
    1.15 -                        goto enomem;
    1.16                  }
    1.17              }
    1.18          }