summaryrefslogtreecommitdiff
path: root/source4/lib/tls
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 21:49:40 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 21:49:40 +0200
commit9d2d66610947a78c33616b7df7e9bf0c224b73e6 (patch)
treeeb7e0d2e5c626a80342308a357c1c8289d0ae678 /source4/lib/tls
parent6b5d0b32b68a65121b05ca4f250807576a9ff23e (diff)
downloadsamba-9d2d66610947a78c33616b7df7e9bf0c224b73e6.tar.gz
samba-9d2d66610947a78c33616b7df7e9bf0c224b73e6.tar.bz2
samba-9d2d66610947a78c33616b7df7e9bf0c224b73e6.zip
Make lp_tls_* return absolute paths.
Diffstat (limited to 'source4/lib/tls')
-rw-r--r--source4/lib/tls/tls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/tls/tls.c b/source4/lib/tls/tls.c
index f72aafe542..24e4632a49 100644
--- a/source4/lib/tls/tls.c
+++ b/source4/lib/tls/tls.c
@@ -357,11 +357,11 @@ struct tls_params *tls_initialise(TALLOC_CTX *mem_ctx, struct loadparm_context *
struct tls_params *params;
int ret;
TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
- const char *keyfile = private_path(tmp_ctx, lp_ctx, lp_tls_keyfile(lp_ctx));
- const char *certfile = private_path(tmp_ctx, lp_ctx, lp_tls_certfile(lp_ctx));
- const char *cafile = private_path(tmp_ctx, lp_ctx, lp_tls_cafile(lp_ctx));
- const char *crlfile = private_path(tmp_ctx, lp_ctx, lp_tls_crlfile(lp_ctx));
- const char *dhpfile = private_path(tmp_ctx, lp_ctx, lp_tls_dhpfile(lp_ctx));
+ const char *keyfile = lp_tls_keyfile(tmp_ctx, lp_ctx);
+ const char *certfile = lp_tls_certfile(tmp_ctx, lp_ctx);
+ const char *cafile = lp_tls_cafile(tmp_ctx, lp_ctx);
+ const char *crlfile = lp_tls_crlfile(tmp_ctx, lp_ctx);
+ const char *dhpfile = lp_tls_dhpfile(tmp_ctx, lp_ctx);
void tls_cert_generate(TALLOC_CTX *, const char *, const char *, const char *);
params = talloc(mem_ctx, struct tls_params);
if (params == NULL) {