src/sync.c
branchkeysync
changeset 1160 a176739cd3c3
parent 1129 d928a7221b96
child 1167 781218f0c0d0
     1.1 --- a/src/sync.c	Mon Sep 12 22:15:51 2016 +0200
     1.2 +++ b/src/sync.c	Tue Sep 13 16:35:17 2016 +0200
     1.3 @@ -54,6 +54,7 @@
     1.4  
     1.5  DYNAMIC_API PEP_STATUS deliverHandshakeResult(
     1.6          PEP_SESSION session,
     1.7 +        Identity partner,
     1.8          sync_handshake_result result
     1.9      )
    1.10  {
    1.11 @@ -68,10 +69,10 @@
    1.12              status = fsm_DeviceState_inject(session, Cancel, NULL, 0);
    1.13              break;
    1.14          case SYNC_HANDSHAKE_ACCEPTED:
    1.15 -            status = fsm_DeviceState_inject(session, HandshakeAccepted, NULL, 0);
    1.16 +            status = fsm_DeviceState_inject(session, HandshakeAccepted, partner, 0);
    1.17              break;
    1.18          case SYNC_HANDSHAKE_REJECTED:
    1.19 -            status = fsm_DeviceState_inject(session, HandshakeRejected, NULL, 0);
    1.20 +            status = fsm_DeviceState_inject(session, HandshakeRejected, partner, 0);
    1.21              break;
    1.22          default:
    1.23              return PEP_ILLEGAL_VALUE;