Browse Source

...

doc_update_sequoia
Volker Birk 7 years ago
parent
commit
20efb6b7ee
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/keymanagement.c

+ 5
- 1
src/keymanagement.c View File

@ -298,12 +298,16 @@ DYNAMIC_API PEP_STATUS do_keymanagement(
DYNAMIC_API PEP_STATUS key_compromized(PEP_SESSION session, const char *fpr)
{
PEP_STATUS status = PEP_STATUS_OK;
assert(session);
assert(fpr);
if (!(session && fpr))
return PEP_ILLEGAL_VALUE;
return PEP_STATUS_OK;
status = revoke_key(session, fpr, NULL);
return status;
}

Loading…
Cancel
Save