From a0f31bd9cb801dc427f31dedce14a8742f9f7da9 Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Thu, 10 Oct 2019 08:53:55 -0300 Subject: [PATCH] Release LuaSec 0.8.2 --- CHANGELOG | 7 +++++++ LICENSE | 2 +- README.md | 2 +- luasec-0.8.1-1.rockspec => luasec-0.8.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/options.c | 2 +- src/options.h | 2 +- src/options.lua | 2 +- src/ssl.c | 4 ++-- src/ssl.h | 2 +- src/ssl.lua | 4 ++-- src/x509.c | 2 +- src/x509.h | 2 +- 18 files changed, 30 insertions(+), 23 deletions(-) rename luasec-0.8.1-1.rockspec => luasec-0.8.2-1.rockspec (96%) diff --git a/CHANGELOG b/CHANGELOG index d4958aa..7f1da5b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +-------------------------------------------------------------------------------- +LuaSec 0.8.2 +--------------- +This version includes: + +* Fix unexported 'ssl.config' table + -------------------------------------------------------------------------------- LuaSec 0.8.1 --------------- diff --git a/LICENSE b/LICENSE index 365d93e..e08304c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -LuaSec 0.8.1 license +LuaSec 0.8.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 f280f95..fcf54aa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaSec 0.8.1 +LuaSec 0.8.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.8.1-1.rockspec b/luasec-0.8.2-1.rockspec similarity index 96% rename from luasec-0.8.1-1.rockspec rename to luasec-0.8.2-1.rockspec index 1d9d186..2ab3ee9 100644 --- a/luasec-0.8.1-1.rockspec +++ b/luasec-0.8.2-1.rockspec @@ -1,8 +1,8 @@ package = "LuaSec" -version = "0.8.1-1" +version = "0.8.2-1" source = { - url = "https://github.com/brunoos/luasec/archive/luasec-0.8.1.tar.gz", - dir = "luasec-luasec-0.8.1" + url = "https://github.com/brunoos/luasec/archive/luasec-0.8.2.tar.gz", + dir = "luasec-luasec-0.8.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 64c9c47..888529e 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/config.c b/src/config.c index 9d65fce..c39b2d2 100644 --- a/src/config.c +++ b/src/config.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre. * diff --git a/src/context.c b/src/context.c index 8eb71f2..a664d03 100644 --- a/src/context.c +++ b/src/context.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. diff --git a/src/context.h b/src/context.h index 5a8313c..e700c40 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,7 @@ #define LSEC_CONTEXT_H /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ec.h b/src/ec.h index 4504a89..cdbe6ea 100644 --- a/src/ec.h +++ b/src/ec.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/https.lua b/src/https.lua index 55883fb..ec96843 100644 --- a/src/https.lua +++ b/src/https.lua @@ -1,5 +1,5 @@ ---------------------------------------------------------------------------- --- LuaSec 0.8.1 +-- LuaSec 0.8.2 -- Copyright (C) 2009-2019 PUC-Rio -- -- Author: Pablo Musa @@ -18,8 +18,8 @@ local try = socket.try -- Module -- local _M = { - _VERSION = "0.8.1", - _COPYRIGHT = "LuaSec 0.8.1 - Copyright (C) 2009-2019 PUC-Rio", + _VERSION = "0.8.2", + _COPYRIGHT = "LuaSec 0.8.2 - Copyright (C) 2009-2019 PUC-Rio", PORT = 443, TIMEOUT = 60 } diff --git a/src/options.c b/src/options.c index 8893c0d..4add521 100644 --- a/src/options.c +++ b/src/options.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/options.h b/src/options.h index 2443a2d..73f50a7 100644 --- a/src/options.h +++ b/src/options.h @@ -2,7 +2,7 @@ #define LSEC_OPTIONS_H /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/options.lua b/src/options.lua index fad359c..aeea2b0 100644 --- a/src/options.lua +++ b/src/options.lua @@ -18,7 +18,7 @@ end local function generate(options, version) print([[ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ssl.c b/src/ssl.c index c247986..aef3471 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. @@ -818,7 +818,7 @@ static int meth_getalpn(lua_State *L) static int meth_copyright(lua_State *L) { - lua_pushstring(L, "LuaSec 0.8.1 - Copyright (C) 2006-2019 Bruno Silvestre, UFG" + lua_pushstring(L, "LuaSec 0.8.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 96d09f9..7c183b1 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -2,7 +2,7 @@ #define LSEC_SSL_H /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ssl.lua b/src/ssl.lua index a805936..a61fd52 100644 --- a/src/ssl.lua +++ b/src/ssl.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- LuaSec 0.8.1 +-- LuaSec 0.8.2 -- -- Copyright (C) 2006-2019 Bruno Silvestre -- @@ -267,7 +267,7 @@ core.setmethod("info", info) -- local _M = { - _VERSION = "0.8.1", + _VERSION = "0.8.2", _COPYRIGHT = core.copyright(), config = config, loadcertificate = x509.load, diff --git a/src/x509.c b/src/x509.c index fcd5398..8037029 100644 --- a/src/x509.c +++ b/src/x509.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.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 9d441c9..ac8ad9b 100644 --- a/src/x509.h +++ b/src/x509.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8.1 + * LuaSec 0.8.2 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann * Matthew Wild, Bruno Silvestre.