Function added to clear secrets (but not certs) from mem_cred_t.

This commit is contained in:
Tobias Brunner
2010-12-03 18:00:00 +01:00
parent 68c7f18643
commit 982de5a5f5
2 changed files with 20 additions and 4 deletions
@@ -86,6 +86,12 @@ struct mem_cred_t {
*/
void (*clear)(mem_cred_t *this);
/**
* Clear the secrets (private and shared keys, not the certificates) from
* the credential set.
*/
void (*clear_secrets)(mem_cred_t *this);
/**
* Destroy a mem_cred_t.
*/