mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 18:46:16 +00:00
Correct an issue where the wrong type was being used to start sasl.
Pointed out by and patch provided by mog. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -523,7 +523,7 @@ static int aji_start_sasl(iksparser *prs, enum ikssasltype type, char *username,
|
||||
char *base64;
|
||||
|
||||
if (type == IKS_STREAM_SASL_MD5)
|
||||
return iks_start_sasl(prs, type, username, pass);
|
||||
return iks_start_sasl(prs, IKS_SASL_DIGEST_MD5, username, pass);
|
||||
|
||||
x = iks_new("auth");
|
||||
if (!x) {
|
||||
|
Reference in New Issue
Block a user