...
authorVolker Birk <vb@pep-project.org>
Tue, 21 Apr 2015 15:44:31 +0200
changeset 21839dff11fa9cd
parent 217 8c084a84b4cd
child 219 3b698a1336a0
...
src/keymanagement.c
     1.1 --- a/src/keymanagement.c	Tue Apr 21 15:43:28 2015 +0200
     1.2 +++ b/src/keymanagement.c	Tue Apr 21 15:44:31 2015 +0200
     1.3 @@ -298,12 +298,16 @@
     1.4  
     1.5  DYNAMIC_API PEP_STATUS key_compromized(PEP_SESSION session, const char *fpr)
     1.6  {
     1.7 +    PEP_STATUS status = PEP_STATUS_OK;
     1.8 +
     1.9      assert(session);
    1.10      assert(fpr);
    1.11  
    1.12      if (!(session && fpr))
    1.13          return PEP_ILLEGAL_VALUE;
    1.14  
    1.15 -    return PEP_STATUS_OK;
    1.16 +    status = revoke_key(session, fpr, NULL);
    1.17 +
    1.18 +    return status;
    1.19  }
    1.20