Changeset

359:a7aa761a436d

util.sasl.scram: Fix typo
author Kim Alvefur <zash@zash.se>
date Thu, 18 Sep 2014 20:33:40 +0200
parents 358:a8f6fd6a70ed
children 360:ac3940bad1bf
files util/sasl/scram.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;