24
1
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:
Evgeniy Khramtsov 2015-08-19 23:47:45 +03:00
parent 775cf2d459
commit b570070834

View File

@ -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.