mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-18 22:15:20 +02:00
Fix case clause during S2S certificate checks
This commit is contained in:
parent
775cf2d459
commit
b570070834
|
@ -241,7 +241,7 @@ check_peer_certificate(SockMod, Sock, Peer) ->
|
|||
VerifyRes ->
|
||||
{error, p1_tls:get_cert_verify_string(VerifyRes, Cert)}
|
||||
end;
|
||||
error ->
|
||||
{error, _Reason} ->
|
||||
{error, <<"Cannot get peer certificate">>}
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user