aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add ssl:setReadAhead(), ssl:getReadAhead(), context:setReadAhead(), ↵LibravatarLibravatar daurnimator 2018-10-312-0/+62
| | | | | | | | context:getReadAhead()
* | src/openssl.c: Add checkbool() to complement optbool()LibravatarLibravatar daurnimator 2018-10-311-2/+7
| |
* | Add openssl.extensionSupported()LibravatarLibravatar daurnimator 2018-10-312-0/+23
| |
* | Add ssl.context:useServerInfo() and ssl.context:useServerInfoFile()LibravatarLibravatar daurnimator 2018-10-312-0/+68
| |
* | Add ssl.context:addCustomExtension()LibravatarLibravatar daurnimator 2018-10-313-0/+437
| |
* | src/openssl.c: Add new SSL options introduce in OpenSSL 1.1.1LibravatarLibravatar daurnimator 2018-10-292-0/+16
| |
* | doc/luaossl.tex: Add missing SSL optionsLibravatarLibravatar daurnimator 2018-10-291-2/+12
| |
* | src/openssl.c: Fix typo (SSL_OP_TLSEXT_PADDING)LibravatarLibravatar daurnimator 2018-10-291-1/+1
| |
* | regress/regress: Pull in some improvements from cqueuesLibravatarLibravatar daurnimator 2018-10-251-4/+47
| |
* | add name:each() as an alias for the __pairs metamethodLibravatarLibravatar daurnimator 2018-08-132-1/+6
| | | | | | | | __pairs is not respected in lua 5.1
* | regress/53-csr-extensions.lua: add shebangLibravatarLibravatar daurnimator 2018-08-131-0/+2
| |
* | src/openssl.c: Use DER true value of 0xFFLibravatarLibravatar daurnimator 2018-07-311-1/+1
| |
* | Merge branch 'inherit-lookups'LibravatarLibravatar daurnimator 2018-07-201-1/+7
|\ \
| * | src/openssl.c: Allow inheriting verify params from defaultsLibravatarLibravatar daurnimator 2018-07-201-1/+7
| | |
* | | config.h.guess: Fix expansion-to-defined warningsLibravatarLibravatar daurnimator 2018-07-201-2/+11
| | |
* | | src/openssl.c: Add SSL_CTX_up_ref shim for OpenSSL < 1.1.0LibravatarLibravatar daurnimator 2018-07-201-0/+16
| | |
* | | src/openssl.c: Bind SSL_get_SSL_CTX as ssl:getContext()LibravatarLibravatar daurnimator 2018-07-202-0/+17
| | |
* | | src/openssl.c: Avoid reinitializing cacheLibravatarLibravatar daurnimator 2018-07-201-9/+12
| | |
* | | src/openssl.c: cache SSL_CTX objectsLibravatarLibravatar daurnimator 2018-07-201-0/+26
|/ /
* | src/openssl.c: Add support for constructing TLSv1.3 contextLibravatarLibravatar daurnimator 2018-07-091-13/+22
| |
* | src/openssl.c: Update SSL options listLibravatarLibravatar daurnimator 2018-07-091-9/+36
| | | | | | | | Order is taken from https://wiki.openssl.org/index.php/List_of_SSL_OP_Flags
* | src/openssl.c: Use lua_pushliteral where possibleLibravatarLibravatar daurnimator 2018-07-091-11/+9
| |
* | Release 20180708LibravatarLibravatar daurnimator 2018-07-081-0/+8
| |
* | doc/: Update ssl.context module docs; regenerate pdfLibravatarLibravatar daurnimator 2018-07-082-1/+37
| |
* | src/openssl.c: Move ticket keys length discovery to own function ↵LibravatarLibravatar daurnimator 2018-07-081-10/+14
| | | | | | | | :getTicketKeysLength()
* | src/openssl.c: Bind SSL_CTX_{s,g}et_tlsext_ticket_keysLibravatarLibravatar daurnimator 2018-07-081-0/+57
| |
* | Merge lua-compat-5.3 v0.7LibravatarLibravatar daurnimator 2018-07-084-16/+31
|\|
| * Squashed 'vendor/compat53/' changes from bc91f40..daebe77LibravatarLibravatar daurnimator 2018-07-084-16/+31
| | | | | | | | | | | | | | | | | | | | daebe77 Fix feature test for C11 Annex K (strerror_s). d48f7f5 Provide strict lua_tointegerx for Lua 5.2 as well. 340f2f4 lua_tointeger(x) rejects non-ints for Lua 5.1. 30077d2 Verify that lua_getuservalue returns type. git-subtree-dir: vendor/compat53 git-subtree-split: daebe77a2f498817713df37f0bb316db1d82222f
* | src/openssl.c: Fix incorrect class check in :getTLSextStatusType()LibravatarLibravatar daurnimator 2018-07-081-1/+1
| |
* | debian/changelog: Fix change descriptionLibravatarLibravatar daurnimator 2018-05-301-1/+1
| |
* | Release 20180530LibravatarLibravatar daurnimator 2018-05-301-0/+15
| |
* | Merge commit '18b7d200cbaadf7aee592f739e2e0cb4be4ce298'LibravatarLibravatar daurnimator 2018-05-306-90/+501
|\| | | | | | | Update to compat-5.3 v0.6
| * Squashed 'vendor/compat53/' changes from 6f3deea..bc91f40LibravatarLibravatar daurnimator 2018-05-306-90/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc91f40 Merge pull request #38 from ThePhD/warnings/vcxx 3615e44 fix VC warnings for integer down-conversions to char db8446d Merge pull request #37 from keplerproject/strerror 447deca Add braces and suppress warning. b782901 Do less stuff when sz is 0 in compat53_strerror(). 9895acb Transparently handle GNU/XSI strerror_r. 9cb6834 Add Travis-CI integration ee2d198 Fix links in the README.md. c381aa3 Merge branch 'ThePhD-feature/luaL_loadfilebufferx' 09b201c Add tests for `luaL_load{buffer,file}x`. 3b52d81 Add Lua 5.3 version of `lua_load`. 8425f99 Merge branch 'feature/luaL_loadfilebufferx' of https://github.com/ThePhD/lua-compat-5.3 into ThePhD-feature/luaL_loadfilebufferx 9435c6c Merge branch 'daurnimator-luaL_Stream' bf96f3d Include lualib.h, remove #define LUA_FILEHANDLE. f76fb00 Merge branch 'luaL_Stream' of https://github.com/daurnimator/lua-compat-5.3 into daurnimator-luaL_Stream 7fc7aba Merge branch 'ThePhD-fix/lua_Number_casts' ee862eb Merge branch 'fix/lua_Number_casts' of https://github.com/ThePhD/lua-compat-5.3 into ThePhD-fix/lua_Number_casts f3b1160 Merge branch 'ThePhD-feature/LUA_ERRGCMM' 73a7b6b fix usage of tabs 0c9d432 fix `lua_Integer` casts that error on Visual C++ and other pedantic conversion-warning compilers for 64-bit builds 7320d58 define LUA_ERRGCMM code for return values 6065d10 update readme 8ee5245 implement luaL_loadbufferx and luaL_loadfilex 0821294 Merge pull request #26 from daurnimator/lua_resume c0a59dd Add (partial) luaL_Stream definition c0db566 Add LUA_FILEHANDLE define 690239b Add lua_resume 1037026 Merge pull request #24 from daurnimator/implicit-fallthrough a3f456a Use FALLTHROUGH annotation to fix -Wimplicit-fallthrough warning git-subtree-dir: vendor/compat53 git-subtree-split: bc91f40919196e6af6371c26f851f8f94da0b15c
* | src/openssl.c: Add lua_isinteger path to bignum construction for Lua 5.3LibravatarLibravatar daurnimator 2018-05-301-0/+18
| |
* | src/openssl.c: Fix outdated luaL_Buffer usageLibravatarLibravatar daurnimator 2018-05-301-48/+14
| | | | | | | | | | | | | | This code was originally written against the Lua 5.1 API which doesn't have luaL_prepbuffsize. Now we use the luaL_Buffer implementation from compat-5.3 we can use newer functionality even with older Lua versions.
* | LICENSE: Update years + add myselfLibravatarLibravatar daurnimator 2018-05-302-2/+6
| |
* | src/openssl.c: X509_CRL only became more than an ASN1 wrapper in 1.0.0LibravatarLibravatar daurnimator 2018-05-301-0/+16
| |
* | Add x509.cert:lookupSerial and x509.cert:lookupCertLibravatarLibravatar daurnimator 2018-05-301-0/+50
| |
* | src/openssl.c: the SSL_CTX_get0_certificate shim used does not work in < 1.0.2LibravatarLibravatar daurnimator 2018-05-291-11/+4
| |
* | src/openssl.c: Add ssl:getServerTemporaryKey()LibravatarLibravatar daurnimator 2018-05-291-0/+19
| |
* | src/openssl.c: Only throw if X509_STORE_load_locations set an errorLibravatarLibravatar daurnimator 2018-05-291-1/+6
| |
* | src/openssl.c: Update defines for new LibreSSL releasesLibravatarLibravatar daurnimator 2018-05-291-45/+53
| |
* | src/openssl.c: Add sslctx:getCertificate()LibravatarLibravatar daurnimator 2018-05-291-0/+29
| |
* | src/openssl.c: Add ssl:getCertificate()LibravatarLibravatar daurnimator 2018-05-291-0/+14
| | | | | | | | | | It uses X509_dup to match :setCertificate(). Note that this differs from ssl:getPeerCertificate() which does *not* dup().
* | src/openssl.c: Factor out xc_dup functionLibravatarLibravatar daurnimator 2018-05-291-4/+13
| |
* | src/openssl.c: cache is no longer just for SSL* pointersLibravatarLibravatar daurnimator 2018-05-291-5/+7
| |
* | src/openssl.c: Cache SSL* pointers so that re-pushing same pointer is same ↵LibravatarLibravatar daurnimator 2018-05-291-3/+29
| | | | | | | | object
* | src/openssl.c: ssl_push doesn't need to return anythingLibravatarLibravatar daurnimator 2018-05-291-4/+2
| |
* | src/openssl.c: Add function to push an SSL object from an ffi pointerLibravatarLibravatar daurnimator 2018-05-291-0/+39
| |
* | Merge remote-tracking branch 'daurnimator/86-getmasterkey'LibravatarLibravatar daurnimator 2018-05-281-0/+43
|\ \