aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* bignum: Rename tostring function to todec. Expose as ":todec" methodLibravatarLibravatar daurnimator 2015-12-211-4/+5
|
* bignum: Add shl (lshift), shr (rshift) functionsLibravatarLibravatar daurnimator 2015-12-211-0/+34
|
* bignum: exposing existing math operators as methodsLibravatarLibravatar daurnimator 2015-12-211-0/+6
|
* Merge branch 'remove-warnings' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-211-15/+15
|\ | | | | | | daurnimator-remove-warnings
| * Give auxL_getref NOTUSED attributeLibravatarLibravatar daurnimator 2015-12-181-1/+1
| |
| * remove trailing whitespaceLibravatarLibravatar daurnimator 2015-12-181-12/+12
| |
| * removed unused warning across #ifLibravatarLibravatar daurnimator 2015-12-181-0/+1
| |
| * remove unused variables in xn__nextLibravatarLibravatar daurnimator 2015-12-181-2/+1
| |
* | fix Solaris buildLibravatarLibravatar William Ahern 2015-12-181-0/+4
|/
* return value list instead of table if parameter names specified explicitlyLibravatarLibravatar William Ahern 2015-12-181-64/+208
|
* bn_dup only returns on success, so remove error handling from bn_dup callsLibravatarLibravatar William Ahern 2015-12-181-34/+26
|
* put EC variable declarations inside OPENSSL_NO_EC preprocessor guard (unable ↵LibravatarLibravatar William Ahern 2015-12-181-5/+8
| | | | to confirm which, if any, of our platforms still don't support EC natively
* Merge branch '36-private-key-inspection' of ↵LibravatarLibravatar William Ahern 2015-12-181-0/+117
|\ | | | | | | git://github.com/daurnimator/luaossl into daurnimator-36-private-key-inspection
| * pk_getParameters: Add 'public_only' flag to only export the public key ↵LibravatarLibravatar daurnimator 2015-12-101-0/+8
| | | | | | | | | | | | parameters Should possibly a string/table instead?
| * Add bn_dup function to make sure BN_FLG_SECURE is kept in copiesLibravatarLibravatar daurnimator 2015-12-071-14/+24
| |
| * 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
|