From 3a5a3f6959c7f504b307c10a2be42e9bd2b911a9 Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Thu, 10 Oct 2019 08:33:01 -0300 Subject: [PATCH] Release LuaSec 0.7.2 --- CHANGELOG | 14 ++++++++++++++ INSTALL | 4 ++-- LICENSE | 2 +- README.md | 2 +- luasec-0.7.1-1.rockspec => luasec-0.7.2-1.rockspec | 6 +++--- src/compat.h | 2 +- src/config.c | 2 +- src/context.c | 2 +- src/context.h | 2 +- src/ec.h | 2 +- src/https.lua | 6 +++--- src/ssl.c | 4 ++-- src/ssl.h | 2 +- src/ssl.lua | 4 ++-- src/x509.c | 2 +- src/x509.h | 2 +- 16 files changed, 36 insertions(+), 22 deletions(-) rename luasec-0.7.1-1.rockspec => luasec-0.7.2-1.rockspec (96%) diff --git a/CHANGELOG b/CHANGELOG index 976154a..2a6fcf8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,17 @@ +-------------------------------------------------------------------------------- +LuaSec 0.7.2 +--------------- +This version includes: + +* Fix unexported 'ssl.config' table + +-------------------------------------------------------------------------------- +LuaSec 0.7.1 +--------------- +This version includes: + +* Fix general_name leak in cert:extensions() + -------------------------------------------------------------------------------- LuaSec 0.7 --------------- diff --git a/INSTALL b/INSTALL index 0b51e0d..3663ddb 100644 --- a/INSTALL +++ b/INSTALL @@ -1,9 +1,9 @@ -LuaSec 0.7.1 +LuaSec 0.7.2 ------------ * OpenSSL options: - By default, LuaSec 0.7.1 includes options for OpenSSL 1.1.0f. + By default, this version includes options for OpenSSL 1.1.1. If you need to generate the options for a different version of OpenSSL: diff --git a/LICENSE b/LICENSE index 43db1e1..4683f46 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -LuaSec 0.7.1 license +LuaSec 0.7.2 license Copyright (C) 2006-2019 Bruno Silvestre, UFG Permission is hereby granted, free of charge, to any person obtaining diff --git a/README.md b/README.md index b775b0f..bc66f4d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaSec 0.7.1 +LuaSec 0.7.2 =============== LuaSec depends on OpenSSL, and integrates with LuaSocket to make it easy to add secure connections to any Lua applications or scripts. diff --git a/luasec-0.7.1-1.rockspec b/luasec-0.7.2-1.rockspec similarity index 96% rename from luasec-0.7.1-1.rockspec rename to luasec-0.7.2-1.rockspec index b9a7c54..9210337 100644 --- a/luasec-0.7.1-1.rockspec +++ b/luasec-0.7.2-1.rockspec @@ -1,8 +1,8 @@ package = "LuaSec" -version = "0.7.1-1" +version = "0.7.2-1" source = { - url = "https://github.com/brunoos/luasec/archive/luasec-0.7.1.tar.gz", - dir = "luasec-luasec-0.7.1" + url = "https://github.com/brunoos/luasec/archive/luasec-0.7.2.tar.gz", + dir = "luasec-luasec-0.7.2" } description = { summary = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.", diff --git a/src/compat.h b/src/compat.h index 40a6a66..df797d3 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/config.c b/src/config.c index 27f4740..0e5e706 100644 --- a/src/config.c +++ b/src/config.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2006-2019 Bruno Silvestre. * diff --git a/src/context.c b/src/context.c index 427ae69..a39a2e7 100644 --- a/src/context.c +++ b/src/context.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. diff --git a/src/context.h b/src/context.h index 1aa94ed..c552175 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,7 @@ #define LSEC_CONTEXT_H /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ec.h b/src/ec.h index 7a08fe2..c6e0cb4 100644 --- a/src/ec.h +++ b/src/ec.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/https.lua b/src/https.lua index 783d70b..8b3ad01 100644 --- a/src/https.lua +++ b/src/https.lua @@ -1,5 +1,5 @@ ---------------------------------------------------------------------------- --- LuaSec 0.7.1 +-- LuaSec 0.7.2 -- Copyright (C) 2009-2019 PUC-Rio -- -- Author: Pablo Musa @@ -18,8 +18,8 @@ local try = socket.try -- Module -- local _M = { - _VERSION = "0.7.1", - _COPYRIGHT = "LuaSec 0.7.1 - Copyright (C) 2009-2019 PUC-Rio", + _VERSION = "0.7.2", + _COPYRIGHT = "LuaSec 0.7.2 - Copyright (C) 2009-2019 PUC-Rio", PORT = 443, } diff --git a/src/ssl.c b/src/ssl.c index 6632519..d5ac418 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. @@ -796,7 +796,7 @@ static int meth_getsniname(lua_State *L) static int meth_copyright(lua_State *L) { - lua_pushstring(L, "LuaSec 0.7.1 - Copyright (C) 2006-2019 Bruno Silvestre, UFG" + lua_pushstring(L, "LuaSec 0.7.2 - Copyright (C) 2006-2019 Bruno Silvestre, UFG" #if defined(WITH_LUASOCKET) "\nLuaSocket 3.0-RC1 - Copyright (C) 2004-2013 Diego Nehab" #endif diff --git a/src/ssl.h b/src/ssl.h index 06e235a..8b4c3b6 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -2,7 +2,7 @@ #define LSEC_SSL_H /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ssl.lua b/src/ssl.lua index 0e5e1f5..5d44264 100644 --- a/src/ssl.lua +++ b/src/ssl.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- LuaSec 0.7.1 +-- LuaSec 0.7.2 -- -- Copyright (C) 2006-2019 Bruno Silvestre -- @@ -179,7 +179,7 @@ core.setmethod("info", info) -- local _M = { - _VERSION = "0.7.1", + _VERSION = "0.7.2", _COPYRIGHT = core.copyright(), config = config, loadcertificate = x509.load, diff --git a/src/x509.c b/src/x509.c index 2661b29..e740809 100644 --- a/src/x509.c +++ b/src/x509.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann * Matthew Wild, Bruno Silvestre. diff --git a/src/x509.h b/src/x509.h index 66861bb..94ee63b 100644 --- a/src/x509.h +++ b/src/x509.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.7.1 + * LuaSec 0.7.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann * Matthew Wild, Bruno Silvestre.