Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/openssl.c: Allow inheriting verify params from defaults | daurnimator | 2018-07-20 | 1 | -1/+7 |
| | |||||
* | src/openssl.c: Add support for constructing TLSv1.3 context | daurnimator | 2018-07-09 | 1 | -13/+22 |
| | |||||
* | src/openssl.c: Update SSL options list | daurnimator | 2018-07-09 | 1 | -9/+36 |
| | | | | Order is taken from https://wiki.openssl.org/index.php/List_of_SSL_OP_Flags | ||||
* | src/openssl.c: Use lua_pushliteral where possible | daurnimator | 2018-07-09 | 1 | -11/+9 |
| | |||||
* | Release 20180708 | daurnimator | 2018-07-08 | 1 | -0/+8 |
| | |||||
* | doc/: Update ssl.context module docs; regenerate pdf | daurnimator | 2018-07-08 | 2 | -1/+37 |
| | |||||
* | src/openssl.c: Move ticket keys length discovery to own function ↵ | daurnimator | 2018-07-08 | 1 | -10/+14 |
| | | | | :getTicketKeysLength() | ||||
* | src/openssl.c: Bind SSL_CTX_{s,g}et_tlsext_ticket_keys | daurnimator | 2018-07-08 | 1 | -0/+57 |
| | |||||
* | Merge lua-compat-5.3 v0.7 | daurnimator | 2018-07-08 | 4 | -16/+31 |
|\ | |||||
| * | Squashed 'vendor/compat53/' changes from bc91f40..daebe77 | daurnimator | 2018-07-08 | 4 | -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() | daurnimator | 2018-07-08 | 1 | -1/+1 |
| | | |||||
* | | debian/changelog: Fix change description | daurnimator | 2018-05-30 | 1 | -1/+1 |
| | | |||||
* | | Release 20180530 | daurnimator | 2018-05-30 | 1 | -0/+15 |
| | | |||||
* | | Merge commit '18b7d200cbaadf7aee592f739e2e0cb4be4ce298' | daurnimator | 2018-05-30 | 6 | -90/+501 |
|\| | | | | | | | Update to compat-5.3 v0.6 | ||||
| * | Squashed 'vendor/compat53/' changes from 6f3deea..bc91f40 | daurnimator | 2018-05-30 | 6 | -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.3 | daurnimator | 2018-05-30 | 1 | -0/+18 |
| | | |||||
* | | src/openssl.c: Fix outdated luaL_Buffer usage | daurnimator | 2018-05-30 | 1 | -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 myself | daurnimator | 2018-05-30 | 2 | -2/+6 |
| | | |||||
* | | src/openssl.c: X509_CRL only became more than an ASN1 wrapper in 1.0.0 | daurnimator | 2018-05-30 | 1 | -0/+16 |
| | | |||||
* | | Add x509.cert:lookupSerial and x509.cert:lookupCert | daurnimator | 2018-05-30 | 1 | -0/+50 |
| | | |||||
* | | src/openssl.c: the SSL_CTX_get0_certificate shim used does not work in < 1.0.2 | daurnimator | 2018-05-29 | 1 | -11/+4 |
| | | |||||
* | | src/openssl.c: Add ssl:getServerTemporaryKey() | daurnimator | 2018-05-29 | 1 | -0/+19 |
| | | |||||
* | | src/openssl.c: Only throw if X509_STORE_load_locations set an error | daurnimator | 2018-05-29 | 1 | -1/+6 |
| | | |||||
* | | src/openssl.c: Update defines for new LibreSSL releases | daurnimator | 2018-05-29 | 1 | -45/+53 |
| | | |||||
* | | src/openssl.c: Add sslctx:getCertificate() | daurnimator | 2018-05-29 | 1 | -0/+29 |
| | | |||||
* | | src/openssl.c: Add ssl:getCertificate() | daurnimator | 2018-05-29 | 1 | -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 function | daurnimator | 2018-05-29 | 1 | -4/+13 |
| | | |||||
* | | src/openssl.c: cache is no longer just for SSL* pointers | daurnimator | 2018-05-29 | 1 | -5/+7 |
| | | |||||
* | | src/openssl.c: Cache SSL* pointers so that re-pushing same pointer is same ↵ | daurnimator | 2018-05-29 | 1 | -3/+29 |
| | | | | | | | | object | ||||
* | | src/openssl.c: ssl_push doesn't need to return anything | daurnimator | 2018-05-29 | 1 | -4/+2 |
| | | |||||
* | | src/openssl.c: Add function to push an SSL object from an ffi pointer | daurnimator | 2018-05-29 | 1 | -0/+39 |
| | | |||||
* | | Merge remote-tracking branch 'daurnimator/86-getmasterkey' | daurnimator | 2018-05-28 | 1 | -0/+43 |
|\ \ | |||||
| * | | src/openssl.c: Add compat routines for SSL_SESSION_get_master_key | daurnimator | 2017-10-26 | 1 | -0/+20 |
| | | | |||||
| * | | src/openssl.c: Bind SSL_SESSION_get_master_key as ssl:getMasterKey() | daurnimator | 2017-10-26 | 1 | -0/+23 |
| | | | |||||
* | | | Merge remote-tracking branch 'daurnimator/bn-mod-functions' | daurnimator | 2018-05-28 | 1 | -0/+84 |
|\ \ \ | |||||
| * | | | src/openssl.c: Add bn:mod_sqr function | daurnimator | 2017-12-18 | 1 | -0/+14 |
| | | | | |||||
| * | | | src/openssl.c: Add bn:mod_{add,sub,mul} functions | daurnimator | 2017-12-18 | 1 | -0/+42 |
| | | | | |||||
| * | | | src/openssl.c: Add bn:mod_exp() function | daurnimator | 2017-12-18 | 1 | -0/+28 |
| | | | | |||||
* | | | | src/openssl.c: Reorder pkey methods | daurnimator | 2018-05-28 | 1 | -4/+4 |
| | | | | |||||
* | | | | src/openssl.c: Expose pkey's __tostring as pkey:tostring() | daurnimator | 2018-05-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Closes #119 | ||||
* | | | | src/openssl.c: Add :toPEM methods to objects with PEM-ing __tostring metamethods | daurnimator | 2018-05-28 | 1 | -0/+69 |
| | | | | | | | | | | | | | | | | Closes #122 | ||||
* | | | | src/openssl.c: Fix function vs method in error messages | daurnimator | 2018-05-28 | 1 | -3/+3 |
| | | | | |||||
* | | | | src/openssl.c: Add setExtension methods to match addExtension | daurnimator | 2018-05-28 | 1 | -0/+40 |
| | | | | |||||
* | | | | src/openssl.c: Add csr:addRequestedExtension | daurnimator | 2018-05-28 | 1 | -0/+19 |
| | | | | |||||
* | | | | src/openssl.c: Add csr:getRequestedExtension{,Count} | daurnimator | 2018-05-28 | 1 | -0/+67 |
| | | | | |||||
* | | | | src/openssl.c: Add csr:setRequestedExtension | daurnimator | 2018-05-28 | 1 | -0/+18 |
| | | | | |||||
* | | | | src/openssl.c: Refactor xr_setExtensionByNid to allow passing in different ↵ | daurnimator | 2018-05-28 | 1 | -9/+11 |
| | | | | | | | | | | | | | | | | modification options | ||||
* | | | | doc/luaossl.tex: Document new ssl:set*Store methods | daurnimator | 2018-03-27 | 1 | -0/+18 |
| | | | | |||||
* | | | | src/openssl.c: ssl:set*Store is unsupported in OpenSSL < 1.0.2 | daurnimator | 2018-03-27 | 1 | -0/+16 |
| | | | | |||||
* | | | | src/openssl.ssl.lua: Add ssl:setStore wrapper | daurnimator | 2018-03-27 | 1 | -0/+6 |
| | | | |