Update 0.8 -> 0.9

master
Bruno Silvestre 2019-10-31 11:34:27 -03:00
parent 860b2a8b5f
commit 43feb51c5e
19 changed files with 67 additions and 30 deletions

View File

@ -1,3 +1,33 @@
--------------------------------------------------------------------------------
LuaSec 0.9
---------------
This version includes:
* Add DNS-based Authentication of Named Entities (DANE) support
* Add __close() metamethod
* Fix deprecation warnings with OpenSSL 1.1
* Fix special case listing of TLS 1.3 EC curves
* Fix general_name leak in cert:extensions()
* Fix unexported 'ssl.config' table
* Replace $(LD) with $(CCLD) variable
* Remove multiple definitions of 'ssl_options' variable
* Use tag to git format: v0.9
--------------------------------------------------------------------------------
LuaSec 0.8.2
---------------
This version includes:
* Fix unexported 'ssl.config' table (backported)
--------------------------------------------------------------------------------
LuaSec 0.8.1
---------------
This version includes:
* Fix general_name leak in cert:extensions() (backported)
--------------------------------------------------------------------------------
LuaSec 0.8
---------------
@ -12,6 +42,20 @@ This version includes:
* Fix invalid reference to Lua state
* Fix memory leak when get certficate extensions
--------------------------------------------------------------------------------
LuaSec 0.7.2
---------------
This version includes:
* Fix unexported 'ssl.config' table (backported)
--------------------------------------------------------------------------------
LuaSec 0.7.1
---------------
This version includes:
* Fix general_name leak in cert:extensions() (backported)
--------------------------------------------------------------------------------
LuaSec 0.7
---------------

View File

@ -1,9 +1,9 @@
LuaSec 0.8
LuaSec 0.9
------------
* OpenSSL options:
By default, LuaSec 0.8 includes options for OpenSSL 1.1.1.
By default, this version includes options for OpenSSL 1.1.1.
If you need to generate the options for a different version of OpenSSL:

View File

@ -1,4 +1,4 @@
LuaSec 0.8 license
LuaSec 0.9 license
Copyright (C) 2006-2019 Bruno Silvestre, UFG
Permission is hereby granted, free of charge, to any person obtaining

View File

@ -1,9 +1,6 @@
LuaSec 0.8
LuaSec 0.9
===============
LuaSec depends on OpenSSL, and integrates with LuaSocket to make it
easy to add secure connections to any Lua applications or scripts.
Important: This version requires at least OpenSSL 1.0.2.
For old versions of OpenSSL, use LuaSec 0.7.
Documentation: https://github.com/brunoos/luasec/wiki

View File

@ -1,9 +1,5 @@
package = "LuaSec"
version = "0.8-1"
source = {
url = "https://github.com/brunoos/luasec/archive/luasec-0.8.tar.gz",
dir = "luasec-luasec-0.8"
}
version = "0.9-1"
description = {
summary = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.",
detailed = "This version delegates to LuaSocket the TCP connection establishment between the client and server. Then LuaSec uses this connection to start a secure TLS/SSL session.",

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre.
*

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann,
* Matthew Wild.

View File

@ -2,7 +2,7 @@
#define LSEC_CONTEXT_H
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -1,5 +1,5 @@
----------------------------------------------------------------------------
-- LuaSec 0.8
-- LuaSec 0.9
-- Copyright (C) 2009-2019 PUC-Rio
--
-- Author: Pablo Musa
@ -18,8 +18,8 @@ local try = socket.try
-- Module
--
local _M = {
_VERSION = "0.8",
_COPYRIGHT = "LuaSec 0.8 - Copyright (C) 2009-2019 PUC-Rio",
_VERSION = "0.9",
_COPYRIGHT = "LuaSec 0.9 - Copyright (C) 2009-2019 PUC-Rio",
PORT = 443,
TIMEOUT = 60
}

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -2,7 +2,7 @@
#define LSEC_OPTIONS_H
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -18,7 +18,7 @@ end
local function generate(options, version)
print([[
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann,
* Matthew Wild.
@ -819,7 +819,7 @@ static int meth_getalpn(lua_State *L)
static int meth_copyright(lua_State *L)
{
lua_pushstring(L, "LuaSec 0.8 - Copyright (C) 2006-2019 Bruno Silvestre, UFG"
lua_pushstring(L, "LuaSec 0.9 - Copyright (C) 2006-2019 Bruno Silvestre, UFG"
#if defined(WITH_LUASOCKET)
"\nLuaSocket 3.0-RC1 - Copyright (C) 2004-2013 Diego Nehab"
#endif

View File

@ -2,7 +2,7 @@
#define LSEC_SSL_H
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2006-2019 Bruno Silvestre
*

View File

@ -1,5 +1,5 @@
------------------------------------------------------------------------------
-- LuaSec 0.8
-- LuaSec 0.9
--
-- Copyright (C) 2006-2019 Bruno Silvestre
--
@ -271,7 +271,7 @@ core.setmethod("info", info)
--
local _M = {
_VERSION = "0.8",
_VERSION = "0.9",
_COPYRIGHT = core.copyright(),
config = config,
loadcertificate = x509.load,

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann
* Matthew Wild, Bruno Silvestre.

View File

@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
* LuaSec 0.8
* LuaSec 0.9
*
* Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann
* Matthew Wild, Bruno Silvestre.