Thu, 18 Sep 2014 20:33:40 +0200
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;