mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Return invalid-mechanism when a mechanism isn't supported instead of
no-mechanism, which wasn't standard-compliant. PR: EJABP-1 SVN Revision: 1838
This commit is contained in:
parent
8a413018c2
commit
cdbb000638
@ -3,6 +3,9 @@
|
|||||||
* src/acl.erl (match_acl/3): Use string() version of
|
* src/acl.erl (match_acl/3): Use string() version of
|
||||||
User/Server/Resource to match an ACL.
|
User/Server/Resource to match an ACL.
|
||||||
|
|
||||||
|
* src/cyrsasl.erl: Return invalid-mechanism when a mechanism isn't
|
||||||
|
supported instead of no-mechanism, which wasn't standard-compliant.
|
||||||
|
|
||||||
2009-01-19 Pablo Polvorin <pablo.polvorin@process-one.net>
|
2009-01-19 Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
|
|
||||||
* src/cyrsasl_digest.erl: Typo (prolists -> proplists).
|
* src/cyrsasl_digest.erl: Typo (prolists -> proplists).
|
||||||
|
@ -133,10 +133,10 @@ server_start(State, Mech, ClientIn) ->
|
|||||||
mech_state = MechState},
|
mech_state = MechState},
|
||||||
ClientIn);
|
ClientIn);
|
||||||
_ ->
|
_ ->
|
||||||
{error, 'no-mechanism'}
|
{error, 'invalid-mechanism'}
|
||||||
end;
|
end;
|
||||||
false ->
|
false ->
|
||||||
{error, 'no-mechanism'}
|
{error, 'invalid-mechanism'}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
server_step(State, ClientIn) ->
|
server_step(State, ClientIn) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user