util/sasl/scram.lua

changeset 359
a7aa761a436d
parent 358
a8f6fd6a70ed
child 362
d8c3e94d765d
--- a/util/sasl/scram.lua	Thu Sep 18 20:32:38 2014 +0200
+++ b/util/sasl/scram.lua	Thu Sep 18 20:33:40 2014 +0200
@@ -98,7 +98,7 @@
 	if stream.username and (stream.password or (stream.client_key or stream.server_key)) then
 		if name == "SCRAM-SHA-1" then
 			return scram, 99;
-		elseif name = "SCRAM-SHA-1-PLUS" then
+		elseif name == "SCRAM-SHA-1-PLUS" then
 			local sock = stream.conn:ssl() and stream.conn:socket();
 			if sock and sock.getfinished then
 				return scram, 100;

mercurial