summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ustream-ssl: make ustream_ssl.server_name constAlexander Couzens2015-08-061-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* polarssl: add mising string includeJo-Philipp Wich2015-06-091-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* polarssl: fix long writesLuka Perkov2015-04-121-7/+13
| | | | | | Enable to write more data then defined in SSL_MAX_CONTENT_LEN. Signed-off-by: Luka Perkov <luka@openwrt.org>
* polarssl: fix return code of entropy functionFelix Fietkau2015-03-302-1/+4
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* cmake: Do not hardcode /opt/local/include for Apple.Yousong Zhou2014-12-111-5/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* examples: add .notify_write callback.Yousong Zhou2014-12-111-0/+6
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* Add support for Server Name IndicationChristoph Ziebuhr2014-12-014-0/+15
| | | | Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
* openssl: Fix host_pattern_matchChristoph Ziebuhr2014-12-011-1/+1
| | | | Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
* Fix ustream_ssl_pollChristoph Ziebuhr2014-12-011-1/+1
| | | | Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
* openssl: set quiet shutdown flag to ensure that shutdown always succeedsFelix Fietkau2014-04-031-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* openssl: un-inline ustream_ssl_session_freeFelix Fietkau2014-04-032-6/+8
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* openssl: fix subjectAltNames leakFelix Fietkau2014-04-031-3/+7
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* openssl: free peer certificate after validating itFelix Fietkau2014-04-031-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add missing include filesFelix Fietkau2014-03-252-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* openssl: disable host CN checks for cyassl (TODO)Felix Fietkau2014-03-251-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* polarssl: check us->notify_verify_error for NULL before calling itFelix Fietkau2014-03-251-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* ustream-example-client: fix usage informationFelix Fietkau2014-03-251-2/+9
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* implement certificate validation (including CN verification)Felix Fietkau2014-03-258-20/+276
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* fix CyaSSL buildFelix Fietkau2014-03-221-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* Write pending data after connectingFelix Fietkau2014-03-171-0/+1
| | | | | | fixes issues with incoming writes before the ssl negotiation is complete Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add client example codeFelix Fietkau2014-03-153-1/+123
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* polarssl: enable client side ssl verification if a certificate was loadedFelix Fietkau2014-03-152-7/+9
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* give the main context a type instead of making it void *Felix Fietkau2014-03-158-57/+57
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* ustream-ssl: always check connection at the beginning of a sessionFelix Fietkau2014-03-151-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* ustream-server-example: close connection on errorFelix Fietkau2014-03-151-5/+6
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* example: rename to ustream-example-serverFelix Fietkau2014-03-152-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* polarssl: fix error check on writeFelix Fietkau2014-03-151-3/+4
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* polarssl: add support for version 1.3Felix Fietkau2014-03-142-3/+35
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* Add version detection of CyaSSL and make the cyassl backend compatible with ↵Jo-Philipp Wich2013-10-302-12/+52
| | | | both legacy and current CyaSSL versions
* avoid installing internal header filesFelix Fietkau2013-09-251-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* polarssl: disable perfect forward secrecy, it slows down each connection ↵Felix Fietkau2013-07-241-0/+43
| | | | | | handshake by about 130 ms of cpu-bound activity Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* consume all data after a socket write errorFelix Fietkau2013-06-182-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add polarssl supportFelix Fietkau2013-02-044-1/+290
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* split cyassl and openssl sources, add ssl library abstractionFelix Fietkau2013-02-048-193/+307
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* example: ignore SIGPIPEFelix Fietkau2013-02-041-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* build: remove install prefix overrideFelix Fietkau2013-01-231-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* fix read polling by putting the buffer prepare in a loopFelix Fietkau2013-01-221-13/+19
| | | | | | allow user to process more than a single buffer's worth of data in one call Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add s->poll wrapperFelix Fietkau2013-01-221-0/+8
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* use libm with cyasslFelix Fietkau2013-01-131-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* remove commented out include/link directoriesFelix Fietkau2013-01-131-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add copyright info and licenseFelix Fietkau2013-01-135-0/+90
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* fix compile errors on linuxFelix Fietkau2013-01-132-6/+3
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* return -1/0 instead of ssl specific return codes when setting crt/key filesFelix Fietkau2013-01-041-2/+8
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* only export one symbol from the lib, containing a struct with all functions. ↵Felix Fietkau2013-01-042-10/+28
| | | | | | useful for using ustream-ssl as a plugin Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* install headers and libraryFelix Fietkau2012-12-271-0/+8
|
* fix logic inversionFelix Fietkau2012-10-231-1/+1
|
* Initial importFelix Fietkau2012-10-239-0/+725