Package: lua-sec / 0.6-3

Metadata

Package Version Patches format
lua-sec 0.6-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 test.patch | (download)

test.lua | 2 2 + 0 - 0 !
test.sh | 13 13 + 0 - 0 !
2 files changed, 15 insertions(+)

 test

Gbp-Pq: Name 0001-test.patch

0002 lua sec.h.patch | (download)

lua-sec.h | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 lua-sec.h

Gbp-Pq: Name 0002-lua-sec.h.patch

0003 Fix crash related to incorrect buffer size.patch | (download)

src/ssl.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix crash related to incorrect buffer size

The number of bytes received by ssl_recv() is being passed to luaL_addlstring() (in recvall()) but it was being left either uninitialized or being set to an error code.  The crashing case I found was when the state was not LSEC_STATE_CONNECTED (e.g. when dohandshake() has failed) and ssl_recv() returned immediately without setting "got".

0004 Return of DESTDIR support.patch | (download)

src/Makefile | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 return of destdir support


0005 Return the number of data read and remove a useless .patch | (download)

src/ssl.c | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 return the number of data read and remove a useless line.


0006 ASN1_STRING_data is deprecated in OpenSSL 1.1.0.patch | (download)

src/x509.c | 15 13 + 2 - 0 !
1 file changed, 13 insertions(+), 2 deletions(-)

 asn1_string_data() is deprecated in openssl 1.1.0

ASN1_STRING_get0_data() must be used instead.

0007 Use X509_EXTENSION_get_object to get the object fiel.patch | (download)

src/x509.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use x509_extension_get_object() to get the 'object' field from
 extension


0008 Use EVP_PKEY_base_id to recover the key s type.patch | (download)

src/x509.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use evp_pkey_base_id() to recover the key's type


0009 Compatibility with OpenSSL 1.1.0.patch | (download)

src/context.c | 4 0 + 4 - 0 !
src/ssl.c | 15 11 + 4 - 0 !
2 files changed, 11 insertions(+), 8 deletions(-)

 compatibility with openssl 1.1.0

Defining macros X509_up_ref() and SSL_is_server to use the same
API of OpenSSL 1.1.0.