Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
* | | | src/openssl.c: Add ssl:setChainStore and ssl:setVerifyStore | daurnimator | 2018-03-27 | 1 | -0/+26 |
| | | | |||||
* | | | src/openssl.c: openssl 1.1.1 has SSL_CTX_set1_cert_store | daurnimator | 2018-03-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Added in https://github.com/openssl/openssl/pull/1755 | ||||
* | | | src/openssl.c: Fix SSL_CTX_set1_cert_store refcounting issues | daurnimator | 2018-03-27 | 1 | -9/+8 |
|/ / | | | | | | | Closes #124 | ||||
* | | update debian changelog | daurnimator | 2017-10-28 | 1 | -0/+7 |
| | | |||||
* | | Merge remote-tracking branch 'daurnimator/106-ecdsa-with-sha1-removed' | daurnimator | 2017-10-28 | 3 | -8/+8 |
|\ \ | |/ |/| | |||||
| * | OpenSSL now supports more digest<=>key combinations. Remove incorrect examples | daurnimator | 2017-10-26 | 3 | -8/+8 |
| | | |||||
* | | src/openssl.c: Fix indentation | daurnimator | 2017-10-26 | 1 | -9/+8 |
|/ | |||||
* | src/openssl.c: Fix warning about unused function | daurnimator | 2017-10-26 | 1 | -0/+3 |
| | |||||
* | src/openssl.c: Remove redundant EVP_PKEY_type | daurnimator | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | src/openssl.c: Fix bug where exp would be NULL in pkey.new() | daurnimator | 2017-10-26 | 1 | -51/+56 |
| | |||||
* | Merge branch 'windows-support' | daurnimator | 2017-10-05 | 1 | -72/+202 |
|\ | |||||
| * | Don't use #pragma for linker options | daurnimator | 2017-09-02 | 1 | -3/+0 |
| | | | | | | | | Instead require user to pass libraries to linker via build system | ||||
| * | Windows doesn't have S_ISDIR | daurnimator | 2017-09-02 | 1 | -0/+4 |
| | | |||||
| * | Windows wants inaddr.h included after winsock2.h | daurnimator | 2017-09-02 | 1 | -1/+1 |
| | | |||||
| * | EXPAND macro for MSVC | daurnimator | 2017-09-02 | 1 | -27/+28 |
| | | | | | | | | See http://stackoverflow.com/questions/32399191/va-args-expansion-using-msvc |