From 4c06287052d68fdbe7429b8f967cdc8ee94aa44a Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Thu, 31 Aug 2023 17:09:53 -0300 Subject: [PATCH] Release LuaSec 1.3.2 --- CHANGELOG | 9 +++++++++ INSTALL | 2 +- LICENSE | 2 +- README.md | 2 +- luasec-1.3.1-1.rockspec => luasec-1.3.2-1.rockspec | 4 ++-- src/compat.h | 2 +- src/config.c | 2 +- src/context.c | 2 +- src/context.h | 2 +- src/ec.c | 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 +- 20 files changed, 33 insertions(+), 24 deletions(-) rename luasec-1.3.1-1.rockspec => luasec-1.3.2-1.rockspec (98%) diff --git a/CHANGELOG b/CHANGELOG index 13bb421..f7c0a78 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,12 @@ +-------------------------------------------------------------------------------- +LuaSec 1.3.2 +--------------- +This version includes: + +* Fix: place EAI_OVERFLOW inside macro, unbreak build on <10.7 (Sergey Fedorov) +* Fix: Expand workaround for zero errno to OpenSSL 3.0.x (Kim Alvefur) +* Fix: reset block timeout at send or receive (MartinDahlberg) + -------------------------------------------------------------------------------- LuaSec 1.3.1 --------------- diff --git a/INSTALL b/INSTALL index 90dfb72..07b94df 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -LuaSec 1.3.1 +LuaSec 1.3.2 ------------ * OpenSSL options: diff --git a/LICENSE b/LICENSE index a28162f..09df996 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -LuaSec 1.3.1 license +LuaSec 1.3.2 license Copyright (C) 2006-2023 Bruno Silvestre, UFG Permission is hereby granted, free of charge, to any person obtaining diff --git a/README.md b/README.md index 7c801de..afdce4e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaSec 1.3.1 +LuaSec 1.3.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-1.3.1-1.rockspec b/luasec-1.3.2-1.rockspec similarity index 98% rename from luasec-1.3.1-1.rockspec rename to luasec-1.3.2-1.rockspec index 5862c63..a6a36d7 100644 --- a/luasec-1.3.1-1.rockspec +++ b/luasec-1.3.2-1.rockspec @@ -1,8 +1,8 @@ package = "LuaSec" -version = "1.3.1-1" +version = "1.3.2-1" source = { url = "git+https://github.com/brunoos/luasec", - tag = "v1.3.1", + tag = "v1.3.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 2a726fe..9f97e2a 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/config.c b/src/config.c index 3ac06d6..5f0e2c6 100644 --- a/src/config.c +++ b/src/config.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/context.c b/src/context.c index ad3bd9b..881ebb9 100644 --- a/src/context.c +++ b/src/context.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2014-2023 Kim Alvefur, Paul Aurich, Tobias Markmann, Matthew Wild * Copyright (C) 2006-2023 Bruno Silvestre diff --git a/src/context.h b/src/context.h index 30933b9..dd6bd09 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,7 @@ #define LSEC_CONTEXT_H /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ec.c b/src/ec.c index 55b5da9..c7025a5 100644 --- a/src/ec.c +++ b/src/ec.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ec.h b/src/ec.h index da7f964..16d2936 100644 --- a/src/ec.h +++ b/src/ec.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/https.lua b/src/https.lua index 8709772..85cef36 100644 --- a/src/https.lua +++ b/src/https.lua @@ -1,5 +1,5 @@ ---------------------------------------------------------------------------- --- LuaSec 1.3.1 +-- LuaSec 1.3.2 -- -- Copyright (C) 2009-2023 PUC-Rio -- @@ -19,8 +19,8 @@ local try = socket.try -- Module -- local _M = { - _VERSION = "1.3.1", - _COPYRIGHT = "LuaSec 1.3.1 - Copyright (C) 2009-2023 PUC-Rio", + _VERSION = "1.3.2", + _COPYRIGHT = "LuaSec 1.3.2 - Copyright (C) 2009-2023 PUC-Rio", PORT = 443, TIMEOUT = 60 } diff --git a/src/options.c b/src/options.c index 643e0cf..3d17d6d 100644 --- a/src/options.c +++ b/src/options.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/options.h b/src/options.h index ee6d92e..c72d52d 100644 --- a/src/options.h +++ b/src/options.h @@ -2,7 +2,7 @@ #define LSEC_OPTIONS_H /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/options.lua b/src/options.lua index 3f03041..72428c0 100644 --- a/src/options.lua +++ b/src/options.lua @@ -18,7 +18,7 @@ end local function generate(options, version) print([[ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ssl.c b/src/ssl.c index 9eb9daf..934bb81 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2014-2023 Kim Alvefur, Paul Aurich, Tobias Markmann, Matthew Wild * Copyright (C) 2006-2023 Bruno Silvestre @@ -947,7 +947,7 @@ static int meth_getalpn(lua_State *L) static int meth_copyright(lua_State *L) { - lua_pushstring(L, "LuaSec 1.3.1 - Copyright (C) 2006-2023 Bruno Silvestre, UFG" + lua_pushstring(L, "LuaSec 1.3.2 - Copyright (C) 2006-2023 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 3ca82e1..2362ffe 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -2,7 +2,7 @@ #define LSEC_SSL_H /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ssl.lua b/src/ssl.lua index c3dafb0..e22c047 100644 --- a/src/ssl.lua +++ b/src/ssl.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- LuaSec 1.3.1 +-- LuaSec 1.3.2 -- -- Copyright (C) 2006-2023 Bruno Silvestre -- @@ -302,7 +302,7 @@ core.setmethod("info", info) -- local _M = { - _VERSION = "1.3.1", + _VERSION = "1.3.2", _COPYRIGHT = core.copyright(), config = config, loadcertificate = x509.load, diff --git a/src/x509.c b/src/x509.c index 6c5a571..6833d46 100644 --- a/src/x509.c +++ b/src/x509.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2014-2023 Kim Alvefur, Paul Aurich, Tobias Markmann, Matthew Wild * Copyright (C) 2014-2023 Bruno Silvestre diff --git a/src/x509.h b/src/x509.h index 8b766f4..acdbe6c 100644 --- a/src/x509.h +++ b/src/x509.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.1 + * LuaSec 1.3.2 * * Copyright (C) 2014-2023 Kim Alvefur, Paul Aurich, Tobias Markmann, Matthew Wild * Copyright (C) 2013-2023 Bruno Silvestre