aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* | 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
| |
* | src/openssl.c: Add ssl:setChainStore and ssl:setVerifyStoreLibravatarLibravatar daurnimator 2018-03-271-0/+26
| |
* | src/openssl.c: openssl 1.1.1 has SSL_CTX_set1_cert_storeLibravatarLibravatar daurnimator 2018-03-271-1/+1
| | | | | | | | Added in https://github.com/openssl/openssl/pull/1755
* | src/openssl.c: Fix SSL_CTX_set1_cert_store refcounting issuesLibravatarLibravatar daurnimator 2018-03-271-9/+8
|/ | | | Closes #124
* src/openssl.c: Fix indentationLibravatarLibravatar daurnimator 2017-10-261-9/+8
|
* src/openssl.c: Fix warning about unused functionLibravatarLibravatar daurnimator 2017-10-261-0/+3
|
* src/openssl.c: Remove redundant EVP_PKEY_typeLibravatarLibravatar daurnimator 2017-10-261-1/+1
|
* src/openssl.c: Fix bug where exp would be NULL in pkey.new()LibravatarLibravatar daurnimator 2017-10-261-51/+56
|
* Merge branch 'windows-support'LibravatarLibravatar daurnimator 2017-10-051-72/+202
|\
| * Don't use #pragma for linker optionsLibravatarLibravatar daurnimator 2017-09-021-3/+0
| | | | | | | | Instead require user to pass libraries to linker via build system
| * Windows doesn't have S_ISDIRLibravatarLibravatar daurnimator 2017-09-021-0/+4
| |
| * Windows wants inaddr.h included after winsock2.hLibravatarLibravatar daurnimator 2017-09-021-1/+1
| |
| * EXPAND macro for MSVCLibravatarLibravatar daurnimator 2017-09-021-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 _stricmpLibravatarLibravatar daurnimator 2017-09-021-2/+12
| |
| * Implement a thread-safe strerror for windowsLibravatarLibravatar daurnimator 2017-09-021-4/+3
| |
| * Implement randL_stir for win32, reorder includesLibravatarLibravatar daurnimator 2017-09-021-21/+68
| |
| * Add win32 implementation of lockingLibravatarLibravatar daurnimator 2017-09-021-2/+42
| |
| * Implement dl_anchor for win32LibravatarLibravatar daurnimator 2017-09-021-1/+9
| |
| * Start of windows supportLibravatarLibravatar daurnimator 2017-09-021-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.3LibravatarLibravatar daurnimator 2017-09-031-14/+0
| |
* | Fix pkey.new failing when generating RSA keysLibravatarLibravatar daurnimator 2017-09-031-3/+5
| |
* | Don't reset metamethods when reset is 0LibravatarLibravatar daurnimator 2017-09-031-0/+3
| | | | | | | | | | | | Fixes issue where interposed methods were discarded if any more C modules were loaded Closes #104
* | Fix building compat-5.3.oLibravatarLibravatar daurnimator 2017-09-031-1/+1
|/ | | | Build flags weren't being used due to $(<D) expanding to the compat53/c-api directory
* Fix warnings about discarding constLibravatarLibravatar daurnimator 2017-09-021-3/+3
|
* Fix warning about incorrect number of macro argumentsLibravatarLibravatar daurnimator 2017-09-021-1/+1
|