diff options
Diffstat (limited to 'source3/passdb/secrets.c')
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index eee8aaed2d..32335eec89 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -622,7 +622,7 @@ bool secrets_store_trusted_domain_password(const char* domain, const char* pwd, return false; } pass_len = tdb_trusted_dom_pass_pack(pass_buf, pass_len, &pass); - ret = secrets_store(trustdom_keystr(domain), (void *)&pass_buf, + ret = secrets_store(trustdom_keystr(domain), (void *)pass_buf, pass_len); SAFE_FREE(pass_buf); return ret; |