aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* src/openssl.c: Allow inheriting verify params from defaultsLibravatarLibravatar daurnimator 2018-07-201-1/+7
|
* 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
|\ \
| * | src/openssl.c: Add compat routines for SSL_SESSION_get_master_keyLibravatarLibravatar daurnimator 2017-10-261-0/+20
| | |
| * | src/openssl.c: Bind SSL_SESSION_get_master_key as ssl:getMasterKey()LibravatarLibravatar daurnimator 2017-10-261-0/+23
| | |
* | | Merge remote-tracking branch 'daurnimator/bn-mod-functions'LibravatarLibravatar daurnimator 2018-05-281-0/+84
|\ \ \
| * | | src/openssl.c: Add bn:mod_sqr functionLibravatarLibravatar daurnimator 2017-12-181-0/+14
| | | |
| * | | src/openssl.c: Add bn:mod_{add,sub,mul} functionsLibravatarLibravatar daurnimator 2017-12-181-0/+42
| | | |
| * | | src/openssl.c: Add bn:mod_exp() functionLibravatarLibravatar daurnimator 2017-12-181-0/+28
| | | |
* | | | src/openssl.c: Reorder pkey methodsLibravatarLibravatar daurnimator 2018-05-281-4/+4
| | | |
* | | | src/openssl.c: Expose pkey's __tostring as pkey:tostring()LibravatarLibravatar daurnimator 2018-05-281-0/+1
| | | | | | | | | | | | | | | | Closes #119
* | | | src/openssl.c: Add :toPEM methods to objects with PEM-ing __tostring metamethodsLibravatarLibravatar daurnimator 2018-05-281-0/+69
| | | | | | | | | | | | | | | | Closes #122
* | | | src/openssl.c: Fix function vs method in error messagesLibravatarLibravatar daurnimator 2018-05-281-3/+3
| | | |
* | | | src/openssl.c: Add setExtension methods to match addExtensionLibravatarLibravatar daurnimator 2018-05-281-0/+40
| | | |
* | | | src/openssl.c: Add csr:addRequestedExtensionLibravatarLibravatar daurnimator 2018-05-281-0/+19
| | | |
* | | | src/openssl.c: Add csr:getRequestedExtension{,Count}LibravatarLibravatar daurnimator 2018-05-281-0/+67
| | | |
* | | | src/openssl.c: Add csr:setRequestedExtensionLibravatarLibravatar daurnimator 2018-05-281-0/+18
| | | |
* | | | src/openssl.c: Refactor xr_setExtensionByNid to allow passing in different ↵LibravatarLibravatar daurnimator 2018-05-281-9/+11
| | | | | | | | | | | | | | | | modification options
* | | | doc/luaossl.tex: Document new ssl:set*Store methodsLibravatarLibravatar daurnimator 2018-03-271-0/+18
| | | |
* | | | src/openssl.c: ssl:set*Store is unsupported in OpenSSL < 1.0.2LibravatarLibravatar daurnimator 2018-03-271-0/+16
| | | |
* | | | src/openssl.ssl.lua: Add ssl:setStore wrapperLibravatarLibravatar daurnimator 2018-03-271-0/+6
| | | |