From 5c3b43cd6340b640adac848717c6f8f768fdec83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Wed, 1 Feb 2023 17:32:22 +0100 Subject: [PATCH] Update spec --- src/mod_mqtt_session.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_mqtt_session.erl b/src/mod_mqtt_session.erl index cf61efea6..37ea8ce02 100644 --- a/src/mod_mqtt_session.erl +++ b/src/mod_mqtt_session.erl @@ -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) ->