aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-11-14 11:18:26 +0100
committerPaweł Chmielowski <pawel@process-one.net>2022-11-14 11:18:26 +0100
commit992d998695337204f9aab37e1d53f9429b7f812e (patch)
treeddf3919658cf1cc5dff2fa4ea4eb27b2e912a0b3
parentContainer: Update link to the local example of CTL_ON_CREATE usage (diff)
Silent warning in OTP24 about not specified cacerts in sql connections
-rw-r--r--src/ejabberd_sql.erl2
1 files changed, 1 insertions, 1 deletions
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, _) ->
[].