Changeset 745 for trunk/server/source4/lib/tls/tls.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/lib/tls/tls.c
r414 r745 358 358 int ret; 359 359 TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); 360 const char *keyfile = lp _tls_keyfile(tmp_ctx, lp_ctx);361 const char *certfile = lp _tls_certfile(tmp_ctx, lp_ctx);362 const char *cafile = lp _tls_cafile(tmp_ctx, lp_ctx);363 const char *crlfile = lp _tls_crlfile(tmp_ctx, lp_ctx);364 const char *dhpfile = lp _tls_dhpfile(tmp_ctx, lp_ctx);360 const char *keyfile = lpcfg_tls_keyfile(tmp_ctx, lp_ctx); 361 const char *certfile = lpcfg_tls_certfile(tmp_ctx, lp_ctx); 362 const char *cafile = lpcfg_tls_cafile(tmp_ctx, lp_ctx); 363 const char *crlfile = lpcfg_tls_crlfile(tmp_ctx, lp_ctx); 364 const char *dhpfile = lpcfg_tls_dhpfile(tmp_ctx, lp_ctx); 365 365 void tls_cert_generate(TALLOC_CTX *, const char *, const char *, const char *, const char *); 366 366 params = talloc(mem_ctx, struct tls_params); … … 370 370 } 371 371 372 if (!lp _tls_enabled(lp_ctx) || keyfile == NULL || *keyfile == 0) {372 if (!lpcfg_tls_enabled(lp_ctx) || keyfile == NULL || *keyfile == 0) { 373 373 params->tls_enabled = false; 374 374 talloc_free(tmp_ctx); … … 378 378 if (!file_exist(cafile)) { 379 379 char *hostname = talloc_asprintf(mem_ctx, "%s.%s", 380 lp_netbios_name(lp_ctx), lp_realm(lp_ctx)); 380 lpcfg_netbios_name(lp_ctx), 381 lpcfg_dnsdomain(lp_ctx)); 381 382 if (hostname == NULL) { 382 383 goto init_failed;
Note:
See TracChangeset
for help on using the changeset viewer.