From fddde111f7fe9ad5417d75ebbd70429d13eaad97 Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Sun, 19 Mar 2023 11:55:08 -0300 Subject: [PATCH] Release 1.3.1 --- CHANGELOG | 7 +++++++ INSTALL | 2 +- LICENSE | 2 +- README.md | 2 +- luasec-1.3.0-1.rockspec => luasec-1.3.1-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, 31 insertions(+), 24 deletions(-) rename luasec-1.3.0-1.rockspec => luasec-1.3.1-1.rockspec (98%) diff --git a/CHANGELOG b/CHANGELOG index 773d23f..13bb421 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +-------------------------------------------------------------------------------- +LuaSec 1.3.1 +--------------- +This version includes: + +* Fix: check if PSK is available + -------------------------------------------------------------------------------- LuaSec 1.3.0 --------------- diff --git a/INSTALL b/INSTALL index 1941785..90dfb72 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -LuaSec 1.3.0 +LuaSec 1.3.1 ------------ * OpenSSL options: diff --git a/LICENSE b/LICENSE index 405375f..a28162f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -LuaSec 1.3.0 license +LuaSec 1.3.1 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 73b1180..7c801de 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaSec 1.3.0 +LuaSec 1.3.1 =============== 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.0-1.rockspec b/luasec-1.3.1-1.rockspec similarity index 98% rename from luasec-1.3.0-1.rockspec rename to luasec-1.3.1-1.rockspec index 7f4a1fa..5862c63 100644 --- a/luasec-1.3.0-1.rockspec +++ b/luasec-1.3.1-1.rockspec @@ -1,8 +1,8 @@ package = "LuaSec" -version = "1.3.0-1" +version = "1.3.1-1" source = { url = "git+https://github.com/brunoos/luasec", - tag = "v1.3.0", + tag = "v1.3.1", } 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 90a561b..32e1966 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/config.c b/src/config.c index 6ff9d9c..3ac06d6 100644 --- a/src/config.c +++ b/src/config.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/context.c b/src/context.c index 6e943eb..ad3bd9b 100644 --- a/src/context.c +++ b/src/context.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * 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 25b4fe0..30933b9 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,7 @@ #define LSEC_CONTEXT_H /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ec.c b/src/ec.c index 64b0721..55b5da9 100644 --- a/src/ec.c +++ b/src/ec.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ec.h b/src/ec.h index d26e255..da7f964 100644 --- a/src/ec.h +++ b/src/ec.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/https.lua b/src/https.lua index 9b2aed5..8709772 100644 --- a/src/https.lua +++ b/src/https.lua @@ -1,5 +1,5 @@ ---------------------------------------------------------------------------- --- LuaSec 1.3.0 +-- LuaSec 1.3.1 -- -- Copyright (C) 2009-2023 PUC-Rio -- @@ -19,8 +19,8 @@ local try = socket.try -- Module -- local _M = { - _VERSION = "1.3.0", - _COPYRIGHT = "LuaSec 1.3.0 - Copyright (C) 2009-2023 PUC-Rio", + _VERSION = "1.3.1", + _COPYRIGHT = "LuaSec 1.3.1 - Copyright (C) 2009-2023 PUC-Rio", PORT = 443, TIMEOUT = 60 } diff --git a/src/options.c b/src/options.c index 4125d13..643e0cf 100644 --- a/src/options.c +++ b/src/options.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/options.h b/src/options.h index dd1812a..ee6d92e 100644 --- a/src/options.h +++ b/src/options.h @@ -2,7 +2,7 @@ #define LSEC_OPTIONS_H /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/options.lua b/src/options.lua index 48fdd37..3f03041 100644 --- a/src/options.lua +++ b/src/options.lua @@ -18,7 +18,7 @@ end local function generate(options, version) print([[ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ssl.c b/src/ssl.c index 63e41b5..af94137 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * 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.0 - Copyright (C) 2006-2023 Bruno Silvestre, UFG" + lua_pushstring(L, "LuaSec 1.3.1 - 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 3cfbce4..3ca82e1 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -2,7 +2,7 @@ #define LSEC_SSL_H /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2006-2023 Bruno Silvestre * diff --git a/src/ssl.lua b/src/ssl.lua index 52c857a..c3dafb0 100644 --- a/src/ssl.lua +++ b/src/ssl.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- LuaSec 1.3.0 +-- LuaSec 1.3.1 -- -- Copyright (C) 2006-2023 Bruno Silvestre -- @@ -302,7 +302,7 @@ core.setmethod("info", info) -- local _M = { - _VERSION = "1.3.0", + _VERSION = "1.3.1", _COPYRIGHT = core.copyright(), config = config, loadcertificate = x509.load, diff --git a/src/x509.c b/src/x509.c index 45fe6b6..6c5a571 100644 --- a/src/x509.c +++ b/src/x509.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * 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 2d65b5d..8b766f4 100644 --- a/src/x509.h +++ b/src/x509.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.3.0 + * LuaSec 1.3.1 * * Copyright (C) 2014-2023 Kim Alvefur, Paul Aurich, Tobias Markmann, Matthew Wild * Copyright (C) 2013-2023 Bruno Silvestre