summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor ex_newstate fix, which left nil on the stackwilliam2015-07-251-6/+11
|
* Don't recreate an exdata state singleton object when one already exists, ↵William Ahern2015-07-241-0/+9
| | | | otherwise we wrongly invalidate any data already installed. Because ex_newstate is invoked from every submodule, this can easily happen if code loads one submodule, attaches some data to a new OpenSSL object, then loads some other submodule for the first time.
* quick fix to make it easier to build against musl libcLinux User2015-06-161-3/+7
|
* add extension:text methowilliam2015-06-041-1/+44
|
* permit getting extension by index (1-based indexing), and add ↵william2015-06-041-34/+86
| | | | x509:getExtensionCount and crl:getExtensionCount methods
* add extension:getID, extension:getName, extension:getShortName, ↵william2015-06-041-33/+220
| | | | extension:getLongName, extension:getCritical, and crl:getExtension
* clarify ownership semantics of new extension features, some consistency ↵william2015-06-041-16/+35
| | | | work, and a little bit of refactoring to help me understand how the new code works
* Merge branch 'ext' of git://github.com/kunkku/luaossl into kunkku-extwilliam2015-06-041-2/+80
|\
| * initialize extension data in DER format without intermediate hex encodingKaarle Ritvanen2015-05-181-1/+26
| |
| * get extension data in DER formatKaarle Ritvanen2015-05-181-1/+9
| |
| * get named extension from certificateKaarle Ritvanen2015-05-181-0/+32
| |
| * CRL extensionsKaarle Ritvanen2015-05-181-0/+13
| |
* | use X509_get0_pubkey_bitstr to get reference to public key ASN.1 bit string ↵william2015-06-041-1/+1
| | | | | | | | object
* | update x509:getPublicKeyDigest to take optional digest typewilliam2015-06-041-5/+9
| |
* | Merge branch 'key-id' of git://github.com/kunkku/luaossl into kunkku-key-idwilliam2015-06-041-0/+16
|\ \
| * | get digest for certificate's public keyKaarle Ritvanen2015-05-141-0/+16
| |/ | | | | | | | | The digest may be used in key identifier extensions. See RFC 5280 §4.2.1.2.
* | add DTLS client and server methods to openssl.ssl.context.newwilliam2015-06-021-27/+84
| |
* | remove some unused warningswilliam2015-05-281-11/+0
|/
* fix build for OpenBSD 5.6 libresslWilliam Ahern2015-04-221-1/+6
|
* forgot NULL terminator on ssleay_version arraywilliam2015-04-221-0/+1
|
* Fix BN_CTX and BIO caching for LuaJITwilliam2015-04-221-4/+4
|
* Add openssl.version to permit querying runtime OpenSSL version.william2015-04-221-9/+83
| | | | Fix external app data in LuaJIT, which doesn't permit us to store state using a function pointer because of function equivalence issues.
* add missing line continuation to LIST_INSERT_HEAD macro, and fix stale code ↵exdatawilliam2015-04-201-2/+2
| | | | comment
* finish setAlpnSelectwilliam2015-04-171-18/+56
|
* forgot to install our X509_STORE_free replacementwilliam2015-04-171-3/+9
|
* unify OpenSSL, DYLD, and system errno error handling, and begin to ↵william2015-04-171-279/+277
| | | | regularize auxiliary routines under the aux prefix
* pin the module in memory when installing external app data callbacks, as ↵william2015-04-171-124/+234
| | | | these can be never be uninstalled
* don't care about the SSL_CTX class indexwilliam2015-04-161-2/+0
|
* add fix for issue #17william2015-04-161-7/+148
|
* refactor and fixup some interfaces, and begin to flesh out ALPN selection ↵william2015-04-091-39/+148
| | | | callback
* early external data API workwilliam2015-03-091-3/+229
|
* fix strerror_r usage on glibcwilliam2015-03-051-1/+14
|
* add openssl.ssl:setAlpnProtoswilliam2015-03-051-23/+83
|
* throw error when SSL_CTX_set_alpn_protos fails (which pesently is always an ↵william2015-03-051-3/+9
| | | | allocation failure)
* readd pubkey.lua as a stub because the previous solution of using a symbolic ↵william2015-03-042-2/+11
| | | | link was causing packaging headaches
* add feature macros to enable/disable ALPN supportwilliam2015-03-041-2/+18
|
* fix unsigned char to char conversion warningwilliam2015-03-041-1/+1
|
* SSL_CTX_set_alpn_protos takes the full length, not the number of stringsdaurnimator2015-03-011-2/+2
|
* improve ALPN validationdaurnimator2015-03-011-1/+1
|
* Bind SSL_CTX_set_alpn_protos and SSL_get0_alpn_selecteddaurnimator2015-02-281-0/+52
|
* bind set_odd_parity as DES_string_to_key is incompatible with LM schemewilliam2015-02-251-1/+16
|
* add des to build and fix Lua 5.3 buildwilliam2015-02-251-2/+3
|
* add des module to make it easier to implement NTLM authentication protocolwilliam2015-02-252-0/+33
|
* change behavior of 'TLS' method so that it enables TLS 1.1 and 1.2, because ↵william2014-10-281-6/+40
| | | | TLSv1_method in OpenSSL literally only enables TLS 1.0. for 'SSL' disable SSLv2
* add ssl:getVersion and ssl:getClientVersion methodswilliam2014-10-151-7/+74
|
* bind opensslv.h and opensslconf.h macroswilliam2014-09-223-0/+184
|
* unbreak Lua 5.1 for real this timewilliam2014-09-221-1/+1
|
* unbreak Solaris (no ECC support)william2014-09-221-0/+4
|
* unbreak Lua 5.1 buildwilliam2014-09-191-0/+8
|
* fix issue with loading public and private keys concurrently, fix issue in ↵william2014-09-191-56/+140
| | | | pusherror when no OpenSSL errors are actually defined, and because OpenSSL doesn't define its FOO_free routines to accept NULL--even though most or all do handle NULL properly--don't pass them NULL