src/keymanagement.c
branchENGINE-183
changeset 1760 f691b9603e8b
parent 1752 6991834e731a
child 1764 e1c31ee55aad
     1.1 --- a/src/keymanagement.c	Mon May 08 15:41:24 2017 +0200
     1.2 +++ b/src/keymanagement.c	Mon May 08 17:55:33 2017 +0200
     1.3 @@ -996,7 +996,7 @@
     1.4      return _own_keys_retrieve(session, keylist, 0);
     1.5  }
     1.6  
     1.7 -// TODO: Unused for now, but should be used when sync receive old keys (ENGINE-145)
     1.8 +// FIXME: should it be be used when sync receive old keys ? (ENGINE-145)
     1.9  DYNAMIC_API PEP_STATUS set_own_key(
    1.10         PEP_SESSION session,
    1.11         const char *address,
    1.12 @@ -1006,12 +1006,12 @@
    1.13      PEP_STATUS status = PEP_STATUS_OK;
    1.14      
    1.15      assert(session &&
    1.16 -           address && address[0] &&
    1.17 +           address &&
    1.18             fpr && fpr[0]
    1.19            );
    1.20      
    1.21      if (!(session &&
    1.22 -          address && address[0] &&
    1.23 +          address &&
    1.24            fpr && fpr[0]
    1.25           ))
    1.26          return PEP_ILLEGAL_VALUE;