From: Eric Bollengier Date: Mon, 14 Nov 2022 08:11:24 +0000 (+0100) Subject: Fix compilation without TLS X-Git-Tag: Beta-15.0.0~365 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1b63c34e74e401304405f60e184dcaa53308d73;p=thirdparty%2Fbacula.git Fix compilation without TLS --- diff --git a/bacula/src/lib/tls.c b/bacula/src/lib/tls.c index ce6d1d2b2..1d15b1662 100644 --- a/bacula/src/lib/tls.c +++ b/bacula/src/lib/tls.c @@ -1008,7 +1008,7 @@ TLS_CONTEXT *new_tls_context(const char *ca_certfile, const char *ca_certdir, } void free_tls_context(TLS_CONTEXT *ctx) { } -void tls_bsock_shutdown(BSOCKCORE *bsock) { } +int tls_bsock_shutdown(BSOCKCORE *bsock) { return 0; } void free_tls_connection(TLS_CONNECTION *tls) { }