~ubuntu-branches/ubuntu/trusty/lua-sec/trusty

« back to all changes in this revision

Viewing changes to samples/wantread/server.lua

  • Committer: Package Import Robot
  • Author(s): Enrico Tassi
  • Date: 2013-08-21 09:10:18 UTC
  • mfrom: (6.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130821091018-l46fhz3tbyehqadm
Tags: 0.4.1+git063e8a8-2
* Bundle all C modules into a single ssl.so module, as the upstream
  suggested 
* Fix lua-sec.h listing all luaopen_ssl_xxx available
* Remove last bits of transitional packages 

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
--
4
4
-- Public domain
5
5
--
6
 
require("socket")
7
 
require("ssl")
 
6
local socket = require("socket")
 
7
local ssl    = require("ssl")
8
8
 
9
9
local params = {
10
10
   mode = "server",