From 992d998695337204f9aab37e1d53f9429b7f812e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Mon, 14 Nov 2022 11:18:26 +0100 Subject: [PATCH] Silent warning in OTP24 about not specified cacerts in sql connections --- src/ejabberd_sql.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_sql.erl b/src/ejabberd_sql.erl index 3cd2dc345..bfb34b12c 100644 --- a/src/ejabberd_sql.erl +++ b/src/ejabberd_sql.erl @@ -1206,7 +1206,7 @@ get_ssl_opts(ssl, Host) -> Opts2 end; false -> - Opts2 + [{verify, verify_none}|Opts2] end; get_ssl_opts(tcp, _) -> [].