X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fconsole%2Fauthenticate.c;h=2cb65cbd62c245390bc15ce268f12e1da22b219f;hb=a2bbe5fe90fa7b488146142f1c56af3e4da56867;hp=04f7c0829a282744b50aa2b6394f07a3c50295be;hpb=eb621a25daad4cdd5c2e5a15e66aff026a0d9cf7;p=bacula%2Fbacula diff --git a/bacula/src/console/authenticate.c b/bacula/src/console/authenticate.c index 04f7c0829a..2cb65cbd62 100644 --- a/bacula/src/console/authenticate.c +++ b/bacula/src/console/authenticate.c @@ -127,7 +127,7 @@ int authenticate_director(JCR *jcr, DIRRES *director, CONRES *cons) if (have_tls) { if (tls_local_need >= BNET_TLS_OK && tls_remote_need >= BNET_TLS_OK) { /* Engage TLS! Full Speed Ahead! */ - if (!bnet_tls_client(tls_ctx, dir)) { + if (!bnet_tls_client(tls_ctx, dir, NULL)) { sendit(_("TLS negotiation failed\n")); goto bail_out; }