File

util/sasl/anonymous.lua @ 390:7f535a1d5827

util.sasl.scram: Use the new util.hashes and util.random
author Kim Alvefur <zash@zash.se>
date Tue, 25 Aug 2015 16:07:20 +0200
parent 358:a8f6fd6a70ed
line wrap: on
line source


return function (stream, name)
	if name == "ANONYMOUS" then
		return function ()
			return coroutine.yield() == "success";
		end, 0;
	end
end