starting sender_fpr changes in sync ENGINE-571
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Fri, 09 Aug 2019 11:42:31 +0200
branchENGINE-571
changeset 3985e3412410fc72
parent 3983 6cb4eabbccd6
starting sender_fpr changes in sync
src/baseprotocol.c
src/message_api.c
     1.1 --- a/src/baseprotocol.c	Fri Aug 09 10:32:22 2019 +0200
     1.2 +++ b/src/baseprotocol.c	Fri Aug 09 11:42:31 2019 +0200
     1.3 @@ -170,7 +170,8 @@
     1.4              goto the_end;
     1.5          }
     1.6  
     1.7 -        _fpr = strdup(keylist->value);
     1.8 +//        _fpr = strdup(keylist->value);
     1.9 +        _fpr = strdup(msg->_sender_fpr);
    1.10          assert(_fpr);
    1.11          if (!_fpr) {
    1.12              status = PEP_OUT_OF_MEMORY;
     2.1 --- a/src/message_api.c	Fri Aug 09 10:32:22 2019 +0200
     2.2 +++ b/src/message_api.c	Fri Aug 09 11:42:31 2019 +0200
     2.3 @@ -4030,8 +4030,8 @@
     2.4              if (sender_fpr)
     2.5                  signal_Sync_message(session, *rating, data, size, msg->from, sender_fpr);
     2.6              // FIXME: this must be changed to sender_fpr
     2.7 -            else if (*keylist)
     2.8 -                signal_Sync_message(session, *rating, data, size, msg->from, (*keylist)->value);
     2.9 +//            else if (*keylist)
    2.10 +//                signal_Sync_message(session, *rating, data, size, msg->from, (*keylist)->value);
    2.11          }
    2.12          free(sender_fpr);
    2.13      }