Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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 | |||||
* | | 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 | |||||
* | 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 | |||||
| * | windows doesn't have strings.h for strcasecmp, however it does have _stricmp | daurnimator | 2017-09-02 | 1 | -2/+12 | |
| | | ||||||
| * | Implement a thread-safe strerror for windows | daurnimator | 2017-09-02 | 1 | -4/+3 | |
| | | ||||||
| * | Implement randL_stir for win32, reorder includes | daurnimator | 2017-09-02 | 1 | -21/+68 | |
| | | ||||||
| * | Add win32 implementation of locking | daurnimator | 2017-09-02 | 1 | -2/+42 | |
| | | ||||||
| * | Implement dl_anchor for win32 | daurnimator | 2017-09-02 | 1 | -1/+9 | |
| | | ||||||
| * | Start of windows support | daurnimator | 2017-09-02 | 1 | -31/+55 | |
| | | | | | | | | Only thing not working with this commit is inet_pton/inet_ntop | |||||
* | | Remove lua 5.1 code that's taken care of by compat-5.3 | daurnimator | 2017-09-03 | 1 | -14/+0 | |
| | | ||||||
* | | Fix pkey.new failing when generating RSA keys | daurnimator | 2017-09-03 | 1 | -3/+5 | |
| | | ||||||
* | | Don't reset metamethods when reset is 0 | daurnimator | 2017-09-03 | 1 | -0/+3 | |
| | | | | | | | | | | | | Fixes issue where interposed methods were discarded if any more C modules were loaded Closes #104 | |||||
* | | Fix building compat-5.3.o | daurnimator | 2017-09-03 | 1 | -1/+1 | |
|/ | | | | Build flags weren't being used due to $(<D) expanding to the compat53/c-api directory | |||||
* | Fix warnings about discarding const | daurnimator | 2017-09-02 | 1 | -3/+3 | |
| | ||||||
* | Fix warning about incorrect number of macro arguments | daurnimator | 2017-09-02 | 1 | -1/+1 | |
| | ||||||
* | Only use lua-compat-5.3 if running < 5.3 | daurnimator | 2017-09-01 | 2 | -2/+14 | |
| | ||||||
* | Fix broken make install rule | daurnimator | 2017-08-31 | 1 | -3/+3 | |
| | ||||||
* | openssl >=1.1.0 doesn't need to have locking initialised, nor config ↵ | daurnimator | 2017-08-31 | 1 | -2/+10 | |
| | | | | | | manually loaded Part of #96 | |||||
* | Merge remote-tracking branch 'daurnimator/less-locks' | daurnimator | 2017-08-31 | 1 | -32/+14 | |
|\ | ||||||
| * | Remove mutex from dl_anchor | daurnimator | 2017-08-10 | 1 | -6/+1 | |
| | | | | | | | | All call sites already hold a single mutex | |||||
| * | Use a single lock across multiple init functions | daurnimator | 2017-08-10 | 1 | -26/+13 | |
| | | ||||||
* | | In compat_init we only need to anchor if we use CRYPTO_get_ex_new_index | daurnimator | 2017-08-31 | 1 | -1/+1 | |
| | | ||||||
* | | Move away from deprecated X509_CRL_get_* functions when setting values | daurnimator | 2017-08-31 | 1 | -21/+44 | |
| | | | | | | | | | | | | Use X509_CRL_set1_* instead which perform a copy (which means we have to allocate and destroy an ASN1_TIME) Part of #96 | |||||
* | | Move to key generation *_ex functions. | daurnimator | 2017-08-31 | 1 | -8/+29 | |
| | | | | | | | | | | | | The old functions were deprecated in OpenSSL 1.1.0. Part of #96 | |||||
* | | Use 'generator' parameter for picking generator for DH keys (rather than ↵ | daurnimator | 2017-08-31 | 1 | -4/+6 | |
| | | | | | | | | | | | | 'exp'). Change default value to 2. 2 is the default generator for openssl; the number is a mostly arbitrary choice, and smaller values are faster. | |||||
* | | Add branch for each key type in pk_new field marshalling | daurnimator | 2017-08-31 | 1 | -14/+32 | |
| | | ||||||
* | | Use X509_CRL_get0_*Update when not modifying ASN1_TIME | daurnimator | 2017-08-31 | 1 | -9/+25 | |
| | | ||||||
* | | Fix most 'expansion-to-defined' warnings | daurnimator | 2017-08-31 | 1 | -12/+29 | |
| | | ||||||
* | | Use single method constructor and disable unwanted protocols via options | daurnimator | 2017-08-31 | 1 | -31/+61 | |
| | | | | | | | | | | - In OpenSSL 1.1.0 the individual constructors are deprecated - The removal of __typeof__ fixes an issue with MSVC |