context: Add no_compression for OpenSSL 0.9.8 as well default tip

ssl: Add a missing call to setciphers()

context: Clean up some warnings

context: Support ECDH cipher suites, where applicable

Fix the verification function so it doesn't pass for everyone on invalid purpose errors.

ssl: Fix indentation (not sure how this happened)

ssl: ssl.h needs to include socket.h

Clean up the ex_data callers

ssl: getpeercertificate(n) and getpeerchain()

context.c: Add crl_check and crl_check_chain verify options

x509.c: Fix parameter index to cert:digest()

verify: Flag to ignore 'invalid purpose' errors on end cert

x509: Flesh out the SAN types

imported patch whitespace

ssl.core: Add __tostring metamethod

ssl.core, context: Add ability to verify and continue, retrieve verification result

x509: Fix fencepost error in push_x509_name

context: support for diffie-hellman key exchange

x509: valid_at matches "not after" and "not before"

x509: Add ssl.cert_from_pem()

x509: Add __gc to free X509 object on destruction

x509: Add :valid_at() method to discover whether a certificate would be valid at the given timestamp

x509: Add :issuer() method, change returned format for both :subject() and :issuer() to preserve order

x509: Split :decode() method into two methods, :subject() and :extensions()

Remove min() macro from ssl.c

Move asn1 Lua stack helpers to x509.c from ssl.c

src/ssl.c: Include x509.h to shush compiler warning

x509: Whitespace tweaking

x509: Add :digest() method to return cert sha1 fingerprint

Add :pem() method to certificates

src/x509.c: Fix compiler warning, return module table

Split X509 decoding into a separate module, ssl.x509

src/ssl.c: Fix minor typo and whitespace

Whitespace fixes

Refactoring of :getpeercertificate(), support for subjectAltName extensions

Insert subject entries into the correct table in the cert

Whitespace fix for clarity

Fix to remove duplicated table on the stack, causing the 'trusted' flag to disappear from the returned cert

Modify :getpeercertificate() to return a decoded certificate (subject only at the moment)

Add :getpeerfinished() connection method to get peer's TLS Finished message

Add :getfinished() method to get local TLS Finished message

Add :getpeercertificate() method to get peer's certificate

Add :compression() connection method to get the compression method in use (if any)

ssl.c: Set SSL_MODE_RELEASE_BUFFERS mode when supported

context.c: Add no_compression option for when supported

Initial commit (LuaSec 0.4)

(0) tip

mercurial