summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move cipher configuration handling to the shared SSL configuration functionjsing2014-09-291-1/+12
| | | | so that applies to both the ressl client and server.
* Add an option that allows the enabled SSL protocols to be explicitlyjsing2014-09-291-1/+18
| | | | | | | | configured. Discussed with several. ok bcook@
* Add a new API function SSL_CTX_use_certificate_chain() that allows toreyk2014-09-281-16/+5
| | | | | | | | | | | read the PEM-encoded certificate chain from memory instead of a file. This idea is derived from an older implementation in relayd that was needed to use the function with a privep'ed process in a chroot. Now it is time to get it into LibreSSL to make the API more privsep- friendly and to make it available for other programs and the ressl library. ok jsing@ miod@
* revamp the config interface to own memory. easier to use correctly withouttedu2014-09-281-4/+7
| | | | | | caller worrying about leaks or lifetimes. after feedback from jsing
* use void * instead of char *. ok jsingtedu2014-08-151-3/+3
|
* Add support for loading the public/private key from memory, rather thanjsing2014-08-061-10/+72
| | | | directly from file.
* Add $OpenBSD$ tags.jsing2014-08-051-0/+1
|
* A ressl server needs different configuration from a ressl client - providejsing2014-08-041-0/+3
| | | | | a specific server configuration function and call this from ressl_configure.
* Provide a utility function for loading a private/public keypair.jsing2014-08-041-0/+20
|
* Improve ressl_{read,write} handling of non-blocking reads/writes.jsing2014-08-041-16/+28
|
* Free the SSL context first and let the reference counting do its thing.jsing2014-08-041-5/+2
|
* Tabs, not spaces.jsing2014-07-131-5/+5
|
* Split the context allocation out from the configuration. This will allowjsing2014-07-131-4/+12
| | | | | | us to properly report errors that occur during configuration processing. Discussed with tedu@
* Move the client code into a separate file.jsing2014-07-131-160/+0
|
* Use a single ressl.h header file.jsing2014-07-131-2/+1
| | | | Discussed with beck@ and tedu@.
* Initial version of libressl - a library that provides a clean, simple,jsing2014-07-121-0/+335
consistent and secure-by-default API for SSL clients (and soon servers). This is a long way from complete and the interface will likely change substantially - committing now so that further work can happen in the tree. Initiated by tedu@ and inspired by discussions with tedu@, beck@ and other developers.