diff --git a/CHANGELOG b/CHANGELOG index b6f656f..e0f2198 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,19 @@ +-------------------------------------------------------------------------------- +LuaSec 1.0.2 +--------------- +This version includes: + +* Fix handle SSL_send SYSCALL error without errno +* Fix off by one in cert:validat(notafter) +* Fix meth_get_{sinagure => signature}_name function name +* Fix update the Lua state reference on the selected SSL context after SNI +* Fix ignore SSL_OP_BIT(n) macro and update option.c + -------------------------------------------------------------------------------- +LuaSec 1.0.1 +--------------- +This version includes: + + -------------------------------------------------------------------------------- LuaSec 1.0.1 --------------- diff --git a/INSTALL b/INSTALL index 7e74e47..da421df 100644 --- a/INSTALL +++ b/INSTALL @@ -1,9 +1,9 @@ -LuaSec 1.0.1 +LuaSec 1.0.2 ------------ * OpenSSL options: - By default, this version includes options for OpenSSL 1.1.1. + By default, this version includes options for OpenSSL 3.0.0 beta2 If you need to generate the options for a different version of OpenSSL: diff --git a/LICENSE b/LICENSE index ef3f20e..41d08fd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -LuaSec 1.0.1 license +LuaSec 1.0.2 license Copyright (C) 2006-2021 Bruno Silvestre, UFG Permission is hereby granted, free of charge, to any person obtaining diff --git a/README.md b/README.md index af68f17..352ed18 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaSec 1.0.1 +LuaSec 1.0.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.0.1-1.rockspec b/luasec-1.0.2-1.rockspec similarity index 98% rename from luasec-1.0.1-1.rockspec rename to luasec-1.0.2-1.rockspec index a2a2c17..b59a77e 100644 --- a/luasec-1.0.1-1.rockspec +++ b/luasec-1.0.2-1.rockspec @@ -1,8 +1,8 @@ package = "LuaSec" -version = "1.0.1-1" +version = "1.0.2-1" source = { url = "git://github.com/brunoos/luasec", - tag = "v1.0.1", + tag = "v1.0.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 8848f3d..1c88de9 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/config.c b/src/config.c index a079ffa..f693c20 100644 --- a/src/config.c +++ b/src/config.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre. * diff --git a/src/context.c b/src/context.c index 163a1eb..170acfd 100644 --- a/src/context.c +++ b/src/context.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2014-2021 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. diff --git a/src/context.h b/src/context.h index 15d6f56..ae746e8 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,7 @@ #define LSEC_CONTEXT_H /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/ec.h b/src/ec.h index d5615f8..39717ab 100644 --- a/src/ec.h +++ b/src/ec.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/https.lua b/src/https.lua index 28151bf..21bf530 100644 --- a/src/https.lua +++ b/src/https.lua @@ -1,5 +1,5 @@ ---------------------------------------------------------------------------- --- LuaSec 1.0.1 +-- LuaSec 1.0.2 -- Copyright (C) 2009-2021 PUC-Rio -- -- Author: Pablo Musa @@ -18,8 +18,8 @@ local try = socket.try -- Module -- local _M = { - _VERSION = "1.0.1", - _COPYRIGHT = "LuaSec 1.0.1 - Copyright (C) 2009-2021 PUC-Rio", + _VERSION = "1.0.2", + _COPYRIGHT = "LuaSec 1.0.2 - Copyright (C) 2009-2021 PUC-Rio", PORT = 443, TIMEOUT = 60 } diff --git a/src/options.c b/src/options.c index 7c6f21e..d636f7d 100644 --- a/src/options.c +++ b/src/options.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/options.h b/src/options.h index e2f7d75..cd8bcea 100644 --- a/src/options.h +++ b/src/options.h @@ -2,7 +2,7 @@ #define LSEC_OPTIONS_H /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/options.lua b/src/options.lua index 678e8d5..d9a8801 100644 --- a/src/options.lua +++ b/src/options.lua @@ -4,7 +4,7 @@ local function usage() print(" lua options.lua -g /path/to/ssl.h [version] > options.c") print("* Examples:") print(" lua options.lua -g /usr/include/openssl/ssl.h > options.c\n") - print(" lua options.lua -g /usr/include/openssl/ssl.h \"OpenSSL 1.0.1 14\" > options.c\n") + print(" lua options.lua -g /usr/include/openssl/ssl.h \"OpenSSL 1.1.1f\" > options.c\n") print("* List options of your system:") print(" lua options.lua -l /path/to/ssl.h\n") @@ -18,7 +18,7 @@ end local function generate(options, version) print([[ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.1.1 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/ssl.c b/src/ssl.c index 2908662..598c37c 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2014-2021 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. @@ -826,7 +826,7 @@ static int meth_getalpn(lua_State *L) static int meth_copyright(lua_State *L) { - lua_pushstring(L, "LuaSec 1.0.1 - Copyright (C) 2006-2021 Bruno Silvestre, UFG" + lua_pushstring(L, "LuaSec 1.0.2 - Copyright (C) 2006-2021 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 b440732..3ee3435 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -2,7 +2,7 @@ #define LSEC_SSL_H /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2006-2021 Bruno Silvestre * diff --git a/src/ssl.lua b/src/ssl.lua index b8657d4..72a4e5c 100644 --- a/src/ssl.lua +++ b/src/ssl.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- LuaSec 1.0.1 +-- LuaSec 1.0.2 -- -- Copyright (C) 2006-2021 Bruno Silvestre -- @@ -271,7 +271,7 @@ core.setmethod("info", info) -- local _M = { - _VERSION = "1.0.1", + _VERSION = "1.0.2", _COPYRIGHT = core.copyright(), config = config, loadcertificate = x509.load, diff --git a/src/x509.c b/src/x509.c index 5673f47..0b05c65 100644 --- a/src/x509.c +++ b/src/x509.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2014-2021 Kim Alvefur, Paul Aurich, Tobias Markmann * Matthew Wild, Bruno Silvestre. diff --git a/src/x509.h b/src/x509.h index 35df5e9..ec903d5 100644 --- a/src/x509.h +++ b/src/x509.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 1.0.1 + * LuaSec 1.0.2 * * Copyright (C) 2014-2021 Kim Alvefur, Paul Aurich, Tobias Markmann * Matthew Wild, Bruno Silvestre.