From: Eric Bollengier Date: Thu, 23 Apr 2020 14:02:24 +0000 (+0200) Subject: BEE Backport bacula/src/lib/openssl.c X-Git-Tag: Release-11.3.2~1793 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fbd6b33d52003cd89b1eeab50d23d3ab2bc7cb7;p=thirdparty%2Fbacula.git BEE Backport bacula/src/lib/openssl.c This commit is the result of the squash of the following main commits: Author: Eric Bollengier Date: Thu Mar 19 18:09:32 2020 +0100 more work on QT5 for windows Author: Eric Bollengier Date: Wed Jan 8 14:40:42 2020 +0100 Fix #5829 about OpenBSD compilation issue with TLS 1.3 code The SSL_R_APPLICATION_DATA_AFTER_CLOSE_NOTIFY seems to not be defined on OpenBSD. Probably a compatibility issue. Compiling openssl.c openssl.c: In function 'void openssl_post_errors(JCR*, int, const char*)': openssl.c:67: error: 'SSL_R_APPLICATION_DATA_AFTER_CLOSE_NOTIFY' was not declared in this scope Author: Alain Spineux Date: Fri Jul 19 16:13:26 2019 +0200 Fix OpenSSL TLS 1.3 message with ssl3_read_bytes:application data after close notify Ignore this error that is SSL_shutdown() specific and is new to TLS 1.3 ERR=error:14094123:SSL routines:ssl3_read_bytes:application data after close notify we are doing the TLS shutdown. This can happens at multiple place but the message appears only on the DIR because at that time the connection with the DIR is often "terminated" --- diff --git a/bacula/src/lib/openssl.h b/bacula/src/lib/openssl.h index 4c3abbf972..4fd66acf3e 100644 --- a/bacula/src/lib/openssl.h +++ b/bacula/src/lib/openssl.h @@ -41,4 +41,6 @@ void openssl_post_errors (int code, const char *errstring); void openssl_post_errors (JCR *jcr, int code, const char *errstring); #endif /* HAVE_OPENSSL */ +#define NO_FIPS 0 + #endif /* __OPENSSL_H_ */