lm.lua
changeset 46 d4484a8ed66b
parent 42 61d0ab29f17f
child 59 19cfaceda6bb
equal deleted inserted replaced
45:1fcec4b012a7 46:d4484a8ed66b
    46 	if not lm.ssl.supported () then
    46 	if not lm.ssl.supported () then
    47 		-- XXX
    47 		-- XXX
    48 		-- error "ssl is not supported by your loudmouth library"
    48 		-- error "ssl is not supported by your loudmouth library"
    49 		return nil
    49 		return nil
    50 	end
    50 	end
    51 	local fp, cb
    51 	local fp, cb, ut, rt
    52 	local st = type ( a )
    52 	local st = type ( a )
    53 	if st == "table" then
    53 	if st == "table" then
    54 		fp = a.fingerprint
    54 		fp = a.fingerprint
    55 		cb = a.callback
    55 		cb = a.callback
    56 		ut = a.tls
    56 		ut = a.tls