grouped key reset stubs sync
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Fri, 17 Jan 2020 10:07:18 +0100
branchsync
changeset 434450b88dbb1d05
parent 4342 2d2f2c74ca08
child 4345 d277e48a4734
grouped key reset stubs
src/key_reset.c
src/key_reset.h
     1.1 --- a/src/key_reset.c	Thu Jan 16 22:45:54 2020 +0100
     1.2 +++ b/src/key_reset.c	Fri Jan 17 10:07:18 2020 +0100
     1.3 @@ -850,6 +850,9 @@
     1.4      return key_reset(session, NULL, NULL);
     1.5  }
     1.6  
     1.7 +DYNAMIC_API PEP_STATUS key_reset_own_grouped_keys(PEP_SESSION session) {
     1.8 +    return PEP_STATUS_OK;
     1.9 +}
    1.10  
    1.11  static PEP_STATUS _key_reset_device_group_for_shared_key(PEP_SESSION session, 
    1.12                                                           identity_list* key_idents, 
     2.1 --- a/src/key_reset.h	Thu Jan 16 22:45:54 2020 +0100
     2.2 +++ b/src/key_reset.h	Fri Jan 17 10:07:18 2020 +0100
     2.3 @@ -89,6 +89,8 @@
     2.4  //
     2.5  DYNAMIC_API PEP_STATUS key_reset_all_own_keys(PEP_SESSION session);
     2.6  
     2.7 +// FIXME: Doc
     2.8 +DYNAMIC_API PEP_STATUS key_reset_own_grouped_keys(PEP_SESSION session);
     2.9  
    2.10  // key_reset() - reset the database status for a key, removing all trust information
    2.11  //               and default database connections. For own keys, also revoke the key