25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Update spec

This commit is contained in:
Paweł Chmielowski 2023-02-01 17:32:22 +01:00
parent 1a6baf223c
commit 5c3b43cd63

View File

@ -1234,7 +1234,7 @@ authenticate(#connect{password = Pass, properties = Props} = Pkt, State) ->
Err
end.
-spec tls_auth(jid:jid(), state()) -> boolean().
-spec tls_auth(jid:jid(), state()) -> boolean() | no_cert.
tls_auth(_JID, #state{tls_verify = false}) ->
no_cert;
tls_auth(JID, State) ->