aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add 'pkey:getParameters()' function that returns private key parameters as a ↵LibravatarLibravatar daurnimator 2015-12-071-0/+99
| | | | | | | | table of bignums
* | set empty key when creating cipher object to prevent SEGV if caller fails to ↵LibravatarLibravatar William Ahern 2015-12-171-1/+7
| | | | | | | | | | | | initialize with a key before calling :update or :final. closes issue #31.
* | forgot to call BIO_reset after pushing the private key PEM text, which in ↵LibravatarLibravatar William Ahern 2015-12-171-1/+2
| | | | | | | | | | | | | | | | the multiple argument form caused the next PEM text to be appended. closes issue #34
* | free result of BN_bn2dec()LibravatarLibravatar William Ahern 2015-12-171-3/+21
| | | | | | | | fixes issue #38
* | Merge branch 'master' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-171-0/+2
|\ \ | | | | | | | | | daurnimator-no-ssl3
| * | Guard SSLv3_server_method with #ifndef OPENSSL_NO_SSL3LibravatarLibravatar daurnimator 2015-11-151-0/+2
| |/ | | | | | | Related to https://github.com/wahern/cqueues/issues/113
* | fixed char buffer signedness issueLibravatarLibravatar William Ahern 2015-12-171-2/+6
| |
* | column-align field initializersLibravatarLibravatar William Ahern 2015-12-171-1/+1
| |
* | Merge branch 'bn-tobin' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-171-0/+11
|\ \ | | | | | | | | | daurnimator-bn-tobin
| * | Add :tobin method to bignumsLibravatarLibravatar daurnimator 2015-12-071-0/+11
| |/
* | Merge branch '19-bignum-modulo' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-171-0/+6
|\ \ | | | | | | | | | daurnimator-19-bignum-modulo
| * | Implement lua rounding style for __mod operatorLibravatarLibravatar daurnimator 2015-11-151-0/+6
| |/
* | Fix not passing through first cipher argument in vararg formLibravatarLibravatar daurnimator 2015-11-151-1/+1
| |
* | Allow passing openssl.ssl.context:setCipherList a vararg of ciphers, or an arrayLibravatarLibravatar daurnimator 2015-08-091-0/+13
|/
* 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)
* readd pubkey.lua as a stub because the previous solution of using a symbolic ↵LibravatarLibravatar william 2015-03-042-2/+11
| | | | link was causing packaging headaches
* add feature macros to enable/disable ALPN supportLibravatarLibravatar william 2015-03-041-2/+18
|