summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-05-22 12:21:37 +0200
committerStefan Metzmacher <metze@samba.org>2017-07-13 20:01:28 +0200
commit4e649f7a416b5c877f01c57b8e5a31753436c61c (patch)
tree6ef5052a8cb31ffb007320477fc0ce720271fda4 /source3/include
parent45ed7f339393e3d29e413087b12e898c37dd91a0 (diff)
downloadsamba-4e649f7a416b5c877f01c57b8e5a31753436c61c.tar.gz
s3:secrets: re-add secrets_delete() helper to simplify deleting optional keys
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit fde4af1c329655d7ef3f55727632b3f026a3ea73)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/secrets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index e7f87a9f673..548003fc4fd 100644
--- a/source3/include/secrets.h
+++ b/source3/include/secrets.h
@@ -89,6 +89,7 @@ void secrets_shutdown(void);
void *secrets_fetch(const char *key, size_t *size);
bool secrets_store(const char *key, const void *data, size_t size);
bool secrets_delete_entry(const char *key);
+bool secrets_delete(const char *key);
/* The following definitions come from passdb/machine_account_secrets.c */
bool secrets_mark_domain_protected(const char *domain);