diff --git a/CHANGELOG b/CHANGELOG index aa66fdb..d4958aa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +-------------------------------------------------------------------------------- +LuaSec 0.8.1 +--------------- +This version includes: + +* Fix another memory leak when get certficate extensions + -------------------------------------------------------------------------------- LuaSec 0.8 --------------- diff --git a/INSTALL b/INSTALL index 0ab0e9f..65b7b9e 100644 --- a/INSTALL +++ b/INSTALL @@ -1,9 +1,9 @@ -LuaSec 0.8 +LuaSec 0.8.1 ------------ * OpenSSL options: - By default, LuaSec 0.8 includes options for OpenSSL 1.1.0g. + By default, LuaSec 0.8.1 includes options for OpenSSL 1.1.0g. If you need to generate the options for a different version of OpenSSL: diff --git a/LICENSE b/LICENSE index f4e8f7a..365d93e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -LuaSec 0.8 license +LuaSec 0.8.1 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 aade943..f280f95 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaSec 0.8 +LuaSec 0.8.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-0.8-1.rockspec b/luasec-0.8.1-1.rockspec similarity index 96% rename from luasec-0.8-1.rockspec rename to luasec-0.8.1-1.rockspec index 34ea93e..3e03205 100644 --- a/luasec-0.8-1.rockspec +++ b/luasec-0.8.1-1.rockspec @@ -1,8 +1,8 @@ package = "LuaSec" -version = "0.8-1" +version = "0.8.1-1" source = { - url = "https://github.com/brunoos/luasec/archive/luasec-0.8.tar.gz", - dir = "luasec-luasec-0.8" + url = "https://github.com/brunoos/luasec/archive/luasec-0.8.1.tar.gz", + dir = "luasec-luasec-0.8.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 23b03d5..64c9c47 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/config.c b/src/config.c index a4143d5..cb7ac22 100644 --- a/src/config.c +++ b/src/config.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre. * diff --git a/src/context.c b/src/context.c index fd74869..157848f 100644 --- a/src/context.c +++ b/src/context.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann, * Matthew Wild. diff --git a/src/context.h b/src/context.h index 26d9439..5a8313c 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,7 @@ #define LSEC_CONTEXT_H /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ec.h b/src/ec.h index d6196f8..4504a89 100644 --- a/src/ec.h +++ b/src/ec.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/https.lua b/src/https.lua index 389dbf2..55883fb 100644 --- a/src/https.lua +++ b/src/https.lua @@ -1,5 +1,5 @@ ---------------------------------------------------------------------------- --- LuaSec 0.8 +-- LuaSec 0.8.1 -- Copyright (C) 2009-2019 PUC-Rio -- -- Author: Pablo Musa @@ -18,8 +18,8 @@ local try = socket.try -- Module -- local _M = { - _VERSION = "0.8", - _COPYRIGHT = "LuaSec 0.8 - Copyright (C) 2009-2019 PUC-Rio", + _VERSION = "0.8.1", + _COPYRIGHT = "LuaSec 0.8.1 - Copyright (C) 2009-2019 PUC-Rio", PORT = 443, TIMEOUT = 60 } diff --git a/src/options.h b/src/options.h index 12029a5..a8ae0b2 100644 --- a/src/options.h +++ b/src/options.h @@ -2,7 +2,7 @@ #define LSEC_OPTIONS_H /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/options.lua b/src/options.lua index cc0ab70..75fba50 100644 --- a/src/options.lua +++ b/src/options.lua @@ -21,7 +21,7 @@ local function generate(options, version) #define LSEC_OPTIONS_H /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ssl.c b/src/ssl.c index 31d56ef..c247986 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * 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 - Copyright (C) 2006-2019 Bruno Silvestre, UFG" + lua_pushstring(L, "LuaSec 0.8.1 - 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 190c8b8..96d09f9 100644 --- a/src/ssl.h +++ b/src/ssl.h @@ -2,7 +2,7 @@ #define LSEC_SSL_H /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2006-2019 Bruno Silvestre * diff --git a/src/ssl.lua b/src/ssl.lua index 1ee035a..b500953 100644 --- a/src/ssl.lua +++ b/src/ssl.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- LuaSec 0.8 +-- LuaSec 0.8.1 -- -- Copyright (C) 2006-2019 Bruno Silvestre -- @@ -267,7 +267,7 @@ core.setmethod("info", info) -- local _M = { - _VERSION = "0.8", + _VERSION = "0.8.1", _COPYRIGHT = core.copyright(), loadcertificate = x509.load, newcontext = newcontext, diff --git a/src/x509.c b/src/x509.c index e9f036c..fcd5398 100644 --- a/src/x509.c +++ b/src/x509.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * 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 3c74fa0..9d441c9 100644 --- a/src/x509.h +++ b/src/x509.h @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- - * LuaSec 0.8 + * LuaSec 0.8.1 * * Copyright (C) 2014-2019 Kim Alvefur, Paul Aurich, Tobias Markmann * Matthew Wild, Bruno Silvestre.