Andy Green
5fd9ad2dc3
wrapper: force mbedtls ssl rx buf size to 2048 if 0
2017-10-16 17:13:49 +08:00
Andy Green
a9843c3c26
openssl-wrapper: fix SSL_shutdown
2017-10-16 17:13:49 +08:00
Andy Green
796a5edb6c
openssl-wrapper: add APLN accessors
...
This adds the necessary OpenSSL Apis to the mbedTLS openssl wrapper
to allow ALPN negotiation OpenSSL-style.
The OpenSSL upgrade list format is supported and converted to mbedtls
format at runtime.
2017-10-16 17:13:48 +08:00
Petar Paradzik
7379e5ad6b
Subject: mbedtls_wrapper: fix using uninitialized variable
...
Fixes issues when compiling with "-Werror=maybe-uninitialized".
Signed-off-by: Petar Paradzik <petar.paradzik@sartura.hr>
2017-09-19 12:09:17 +08:00
Andy Green
14cc31fe7d
wrapper: introduce X509_VERIFY_PARAM_set1_host
...
This lets the user code set the mbedtls hostname using the standard OpenSSL
api semantics.
2017-09-09 08:54:58 +08:00
Juraj Vijtiuk
41909eac97
mbedtls: Add mbedTLS backend support
2017-08-28 20:22:20 +08:00
Juraj Vijtiuk
77a71e94d1
mbedtls: Add mbedTLS wrapper
...
This wrapper has come from Espressif's esp-idf
https://github.com/espressif/esp-idf/tree/master/components/openssl
under Apache 2.0, at or around commit
3e4627479b6fff6b652de6d2f0302101e51ee5c2
2017-08-28 20:13:58 +08:00