aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.c
Commit message (Collapse)AuthorAgeFilesLines
* refactor ex_newstate fix, which left nil on the stackLibravatarLibravatar william 2015-07-251-6/+11
|
* Don't recreate an exdata state singleton object when one already exists, ↵LibravatarLibravatar William Ahern 2015-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 libcLibravatarLibravatar Linux User 2015-06-161-3/+7
|
* add extension:text methoLibravatarLibravatar william 2015-06-041-1/+44
|
* permit getting extension by index (1-based indexing), and add ↵LibravatarLibravatar william 2015-06-041-34/+86
| | | | x509:getExtensionCount and crl:getExtensionCount methods
* add extension:getID, extension:getName, extension:getShortName, ↵LibravatarLibravatar william 2015-06-041-33/+220
| | | | extension:getLongName, extension:getCritical, and crl:getExtension
* clarify ownership semantics of new extension features, some consistency ↵LibravatarLibravatar william 2015-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-extLibravatarLibravatar william 2015-06-041-2/+80
|\
| * initialize extension data in DER format without intermediate hex encodingLibravatarLibravatar Kaarle Ritvanen 2015-05-181-1/+26
| |
| * get extension data in DER formatLibravatarLibravatar Kaarle Ritvanen 2015-05-181-1/+9
| |
| * get named extension from certificateLibravatarLibravatar Kaarle Ritvanen 2015-05-181-0/+32
| |
| * CRL extensionsLibravatarLibravatar Kaarle Ritvanen 2015-05-181-0/+13
| |
* | use X509_get0_pubkey_bitstr to get reference to public key ASN.1 bit string ↵LibravatarLibravatar william 2015-06-041-1/+1
| | | | | | | | object
* | update x509:getPublicKeyDigest to take optional digest typeLibravatarLibravatar william 2015-06-041-5/+9
| |
* | Merge branch 'key-id' of git://github.com/kunkku/luaossl into kunkku-key-idLibravatarLibravatar william 2015-06-041-0/+16
|\ \
| * | get digest for certificate's public keyLibravatarLibravatar Kaarle Ritvanen 2015-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.newLibravatarLibravatar william 2015-06-021-27/+84
| |
* | remove some unused warningsLibravatarLibravatar william 2015-05-281-11/+0
|/
* fix build for OpenBSD 5.6 libresslLibravatarLibravatar William Ahern 2015-04-221-1/+6
|
* forgot NULL terminator on ssleay_version arrayLibravatarLibravatar william 2015-04-221-0/+1
|
* Fix BN_CTX and BIO caching for LuaJITLibravatarLibravatar william 2015-04-221-4/+4
|
* Add openssl.version to permit querying runtime OpenSSL version.LibravatarLibravatar william 2015-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 ↵LibravatarLibravatar william 2015-04-201-2/+2
| | | | comment
* finish setAlpnSelectLibravatarLibravatar william 2015-04-171-18/+56
|
* forgot to install our X509_STORE_free replacementLibravatarLibravatar william 2015-04-171-3/+9
|
* unify OpenSSL, DYLD, and system errno error handling, and begin to ↵LibravatarLibravatar william 2015-04-171-279/+277
| | | | regularize auxiliary routines under the aux prefix
* pin the module in memory when installing external app data callbacks, as ↵LibravatarLibravatar william 2015-04-171-124/+234
| | | | these can be never be uninstalled
* don't care about the SSL_CTX class indexLibravatarLibravatar william 2015-04-161-2/+0
|
* add fix for issue #17LibravatarLibravatar william 2015-04-161-7/+148
|
* refactor and fixup some interfaces, and begin to flesh out ALPN selection ↵LibravatarLibravatar william 2015-04-091-39/+148
| | | | callback
* early external data API workLibravatarLibravatar william 2015-03-091-3/+229
|
* fix strerror_r usage on glibcLibravatarLibravatar william 2015-03-051-1/+14
|
* add openssl.ssl:setAlpnProtosLibravatarLibravatar william 2015-03-051-23/+83
|
* throw error when SSL_CTX_set_alpn_protos fails (which pesently is always an ↵LibravatarLibravatar william 2015-03-051-3/+9
| | | | allocation failure)
* add feature macros to enable/disable ALPN supportLibravatarLibravatar william 2015-03-041-2/+18
|
* fix unsigned char to char conversion warningLibravatarLibravatar william 2015-03-041-1/+1
|
* SSL_CTX_set_alpn_protos takes the full length, not the number of stringsLibravatarLibravatar daurnimator 2015-03-011-2/+2
|
* improve ALPN validationLibravatarLibravatar daurnimator 2015-03-011-1/+1
|
* Bind SSL_CTX_set_alpn_protos and SSL_get0_alpn_selectedLibravatarLibravatar daurnimator 2015-02-281-0/+52
|
* bind set_odd_parity as DES_string_to_key is incompatible with LM schemeLibravatarLibravatar william 2015-02-251-1/+16
|
* add des module to make it easier to implement NTLM authentication protocolLibravatarLibravatar william 2015-02-251-0/+30
|
* change behavior of 'TLS' method so that it enables TLS 1.1 and 1.2, because ↵LibravatarLibravatar william 2014-10-281-6/+40
| | | | TLSv1_method in OpenSSL literally only enables TLS 1.0. for 'SSL' disable SSLv2
* add ssl:getVersion and ssl:getClientVersion methodsLibravatarLibravatar william 2014-10-151-7/+74
|
* bind opensslv.h and opensslconf.h macrosLibravatarLibravatar william 2014-09-221-0/+177
|
* unbreak Solaris (no ECC support)LibravatarLibravatar william 2014-09-221-0/+4
|
* fix issue with loading public and private keys concurrently, fix issue in ↵LibravatarLibravatar william 2014-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
* add :getHostName and :setHostName methods to SSL objectLibravatarLibravatar william 2014-09-161-0/+28
|
* add openssl.ssl.context:setEphemeralKeyLibravatarLibravatar william 2014-09-111-9/+97
|
* add SSL_CTX_set_options, SSL_set_options, and friends; and begin process of ↵LibravatarLibravatar william 2014-09-111-20/+194
| | | | handling Lua 5.3 better
* style fixLibravatarLibravatar william 2014-09-111-2/+1
|