File

util/sasl/anonymous.lua @ 401:7be4ebefd1f4

util.random: Use /dev/urandom or LuaCrypto
author Kim Alvefur <zash@zash.se>
date Wed, 13 Jan 2016 00:45:54 +0100
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