src/keymanagement.c
branchENGINE-199
changeset 1765 1693d16c36ea
parent 1764 e1c31ee55aad
child 1791 0253b2e1b8ff
     1.1 --- a/src/keymanagement.c	Tue May 09 09:31:15 2017 +0200
     1.2 +++ b/src/keymanagement.c	Tue May 09 09:49:09 2017 +0200
     1.3 @@ -540,14 +540,6 @@
     1.4  
     1.5          if (status != PEP_STATUS_OK) 
     1.6          {
     1.7 -            status = elect_ownkey(session, identity);
     1.8 -            assert(status == PEP_STATUS_OK);
     1.9 -            if (status != PEP_STATUS_OK) {
    1.10 -                return ERROR(status);
    1.11 -            }
    1.12 -        } 
    1.13 -        else if (status != PEP_STATUS_OK) 
    1.14 -        {
    1.15              return ERROR(status);
    1.16          }
    1.17      }