util.sasl.scram: Fix typo

Thu, 18 Sep 2014 20:33:40 +0200

author
Kim Alvefur <zash@zash.se>
date
Thu, 18 Sep 2014 20:33:40 +0200
changeset 359
a7aa761a436d
parent 358
a8f6fd6a70ed
child 360
ac3940bad1bf

util.sasl.scram: Fix typo

util/sasl/scram.lua file | annotate | diff | comparison | revisions
--- 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