Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use config.h.guess from autoguess project for system feature tests | William Ahern | 2016-10-19 | 1 | -2/+4 |
| | |||||
* | Use syscall() to call getrandom() | Ondřej Surý | 2016-08-30 | 1 | -1/+2 |
| | |||||
* | Add __DragonFly__ and generic BSD detection for ARC4RANDOM | Ondřej Surý | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | Use RAND_seed() instead of RAND_add() where appropriate | Ondřej Surý | 2016-08-30 | 1 | -4/+4 |
| | |||||
* | Reinstate sysctl call for older Linux kernels | Ondřej Surý | 2016-08-30 | 1 | -8/+29 |
| | |||||
* | Use arc4random()/getrandom() to get random bytes instead of sysctl() interface | Ondřej Surý | 2016-08-30 | 1 | -31/+32 |
| | |||||
* | in bignum string conversion, don't pass char or signed char to isdigit or ↵ | William Ahern | 2016-08-12 | 1 | -2/+2 |
| | | | | isxdigit | ||||
* | temporarily address issue #54 by copying solution from lunix and autoguess ↵ | William Ahern | 2016-06-25 | 1 | -2/+2 |
| | | | | project | ||||
* | upgrade luapath script | William Ahern | 2016-06-24 | 1 | -1/+1 |
| | |||||
* | refactor style to more closely match the style of the existing code, such as ↵ | William Ahern | 2016-06-24 | 1 | -22/+35 |
| | | | | it is | ||||
* | refactor and add ashb's regression test for #53 | William Ahern | 2016-06-24 | 4 | -2/+26 |
| | |||||
* | initialize attr to NULL in xr_setExtensionByNid to silence clang, which ↵ | William Ahern | 2016-06-23 | 1 | -0/+1 |
| | | | | can't see that has_attrs indirectly assures at least one iteration of the for loop (in the single-threaded case, at least) | ||||
* | Support for getting and setting SAN on a CSR | Ash Berlin | 2016-04-11 | 1 | -0/+81 |
| | | | | | Extensions in a CSR are a bit more complex than in a CRL or a certificate itself so we don't quite use the same interface. | ||||
* | Add terminator to openssl.x509.extension. | Ash Berlin | 2016-04-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Without this we ended up over-running the buffer and setting functions as numbers again. Before: $ lua -e 'print(require "openssl.x509.extension".new)' 4519558960 After: $ lua -e 'print(require "openssl.x509.extension".new)' function: 0x10f9755e0 | ||||
* | Merge branch 'patch-1' of git://github.com/Zash/luaossl into Zash-patch-1 | William Ahern | 2016-02-16 | 2 | -0/+2 |
|\ | |||||
| * | Add openssl.x509.csr to makefile | Kim Alvefur | 2016-02-06 | 1 | -0/+1 |
| | | |||||
| * | Expose openssl.x509.csr | Kim Alvefur | 2016-02-06 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'bignum-new' of git://github.com/daurnimator/luaossl into ↵ | William Ahern | 2016-02-16 | 1 | -7/+42 |
|\ \ | |/ |/| | | | daurnimator-bignum-new | ||||
| * | bignum: Don't allow empty numbers/strings to pass | daurnimator | 2016-01-04 | 1 | -5/+5 |
| | | | | | | | | | | Previously, "-" would pass the len>0 check; and end up as "0" The `*str` check was redundant, the switch/case already ensures the object at the given stack index is a string | ||||
| * | bignum: validate hex and decimal strings before feeding to openssl | daurnimator | 2016-01-04 | 1 | -2/+11 |
| | | | | | | | | OpenSSL doesn't throw an error on invalid numbers | ||||
| * | bignum: handle negative hex numbers | daurnimator | 2016-01-04 | 1 | -2/+11 |
| | | |||||
| * | bignum: Add fromBinary constructor | daurnimator | 2016-01-04 | 1 | -0/+12 |
| | | | | | | | | Closes #44 | ||||
| * | bignum.new: Allow initialisation from hex strings | daurnimator | 2016-01-04 | 1 | -5/+10 |
| | | |||||
* | | Lua 5.1 doesn't permit NULL msg argument to luaL_checkstack | William Ahern | 2016-01-14 | 1 | -2/+2 |
| | | |||||
* | | try to avoid negative stack indices with luaL_checkstring as error messages ↵ | William Ahern | 2016-01-08 | 1 | -1/+1 |
| | | | | | | | | are confusing (per daurnimator) | ||||
* | | unbreak openssl.rand by fixing auxL_newlib bug | William Ahern | 2016-01-08 | 1 | -1/+1 |
| | | |||||
* | | fix EVP_PKEY method interposing | William Ahern | 2016-01-08 | 1 | -16/+64 |
| | | |||||
* | | permit direct indexing of EVP_KEY as alternative to getParameters/setParameters | William Ahern | 2016-01-07 | 1 | -218/+356 |
| | | |||||
* | | fix comment typo | William Ahern | 2016-01-07 | 1 | -1/+1 |
| | | |||||
* | | preliminary support for pkey:setParameters | William Ahern | 2016-01-07 | 1 | -31/+470 |
|/ | |||||
* | Merge branch 'fix-wrong-type' of git://github.com/daurnimator/luaossl into ↵ | William Ahern | 2016-01-04 | 1 | -3/+3 |
|\ | | | | | | | daurnimator-fix-wrong-type | ||||
| * | Fix incorrect type check in ssl:{set,get,clear}Options | daurnimator | 2016-01-03 | 1 | -3/+3 |
| | | | | | | | | Was checking for SSL_CTX instead of SSL | ||||
* | | bignum: Add generatePrime as new constructor | daurnimator | 2016-01-03 | 1 | -3/+26 |
| | | |||||
* | | bignum: Add :isPrime | daurnimator | 2016-01-03 | 1 | -15/+30 |
| | | |||||
* | | bignum: bugfix: unm shouldn't modify it's operands | daurnimator | 2016-01-03 | 1 | -1/+2 |
| | | |||||
* | | bignum: Bind sqr, nnmod and gcd | daurnimator | 2016-01-03 | 1 | -0/+39 |
| | | |||||
* | | bignum: Use openssl function names | daurnimator | 2016-01-03 | 1 | -12/+12 |
|/ | |||||
* | for now, don't be so harsh and break any existing code | William Ahern | 2015-12-21 | 1 | -0/+1 |
| | |||||
* | bignum: Move div operator to idiv operator (breaks API) | daurnimator | 2015-12-21 | 1 | -8/+8 |
| | |||||
* | bignum: Add tohex function | daurnimator | 2015-12-21 | 1 | -0/+30 |
| | |||||
* | bignum: Rename tostring function to todec. Expose as ":todec" method | daurnimator | 2015-12-21 | 1 | -4/+5 |
| | |||||
* | bignum: Add shl (lshift), shr (rshift) functions | daurnimator | 2015-12-21 | 1 | -0/+34 |
| | |||||
* | bignum: exposing existing math operators as methods | daurnimator | 2015-12-21 | 1 | -0/+6 |
| | |||||
* | Merge branch 'remove-warnings' of git://github.com/daurnimator/luaossl into ↵ | William Ahern | 2015-12-21 | 1 | -15/+15 |
|\ | | | | | | | daurnimator-remove-warnings | ||||
| * | Give auxL_getref NOTUSED attribute | daurnimator | 2015-12-18 | 1 | -1/+1 |
| | | |||||
| * | remove trailing whitespace | daurnimator | 2015-12-18 | 1 | -12/+12 |
| | | |||||
| * | removed unused warning across #if | daurnimator | 2015-12-18 | 1 | -0/+1 |
| | | |||||
| * | remove unused variables in xn__next | daurnimator | 2015-12-18 | 1 | -2/+1 |
| | | |||||
* | | fix Solaris build | William Ahern | 2015-12-18 | 1 | -0/+4 |
|/ | |||||
* | return value list instead of table if parameter names specified explicitly | William Ahern | 2015-12-18 | 1 | -64/+208 |
| |