OVMS3-idf/components
Andy Green effc6c6d0d openssl wrapper: introduce X509_VERIFY_PARAM_set1_host
This lets the user code set the mbedtls hostname using the standard OpenSSL
X509_VERIFY_PARAM_set1_host() API semantics.

The API takes an X509_VERIFY_PARAM pointer.  We use the fact that is
a composed member of the SSL struct to derive the SSL pointer.

The X509_VERIFY_PARAM_set1_host() is unusual in that it can accept a
NUL terminated C string as usual, or a nonterminated pointer + length.
This implementation converts the latter to the former if given, before
using it.

This is enough for user code to get the openssl wrapper to make
mbedtls confirm the CN on the peer cert belongs to the hostname used
to reach it, by doing, eg

	X509_VERIFY_PARAM_set1_host(SSL_get0_param(myssl), myhostname, 0);

Merges https://github.com/espressif/esp-idf/pull/980
2017-11-20 16:24:06 +11:00
..
app_trace unit_tests/Update unit test timer divider 2017-10-30 19:42:16 +08:00
app_update ota_ops: Fix get_selected_boot_partition() in case there is no factory partition 2017-09-04 17:37:28 +10:00
aws_iot mbedtls: Rename net to net_sockets (in line with 2.4.0 API change) 2017-09-07 18:02:39 +10:00
bootloader bootloader: wait for UART FIFO to be empty before switching frequency 2017-11-09 13:17:58 +08:00
bootloader_support build system: Restore ifdef/ifndef in Makefiles, clean up examples build 2017-09-05 16:11:03 +10:00
bt component/bt: delete api bta_gattc_cache_write 2017-11-16 16:40:18 +08:00
coap Ensure that C++ and C compilers get the same preprocessor setup 2017-10-26 13:04:41 +02:00
console console: handle empty input to esp_console_run correctly 2017-10-13 07:14:53 +08:00
cxx cxx: Add KConfig option for C++ exceptions, disable by default 2017-10-17 15:29:25 +08:00
driver Merge branch 'bugfix/touch_pad_register_mismatch' into 'master' 2017-11-15 14:52:13 +08:00
esp32 Merge branch 'bugfix/fix_airkiss_macro_typo' into 'master' 2017-11-16 17:25:45 +08:00
esp_adc_cal feature(I2S-ADC): add ADC mode for I2S. 2017-09-14 13:24:08 +08:00
espcoredump bugfix: fixed path to esptool when there is no compiled python module for it 2017-03-21 13:30:38 +03:00
esptool_py Add --warn-undefined-variables to MAKEFLAGS 2017-09-05 16:10:46 +10:00
ethernet component/emac: fix process rx err 2017-11-15 11:04:32 +08:00
expat Build system: Raise warning level 2016-11-16 15:57:34 +11:00
fatfs Merge branch 'feature/fatfs_kconfig_options' into 'master' 2017-11-11 02:48:15 +08:00
freertos unit tests: fix queue registry test 2017-11-14 23:53:08 +08:00
heap component/heap : fix heap_region_add check bug 2017-11-16 11:10:13 +08:00
idf_test test: support test for UT cases expect to reset 2017-11-07 12:19:39 +08:00
jsmn Add jsmn JSON parser component 2017-03-07 10:18:47 +11:00
json cJSON:Add float format process 2017-01-09 17:51:48 +08:00
libsodium unit tests: fix warnings, build with -Werror 2017-10-19 21:35:23 +08:00
log Add logic to make external RAM usable with malloc() 2017-09-28 17:17:50 +08:00
lwip lwip: rebind UDP/TCP pcb to valid ip address when ip is changed 2017-11-15 16:15:24 +08:00
mbedtls Merge branch 'bugfix/hardware_mpi_sign' into 'master' 2017-11-07 19:30:31 +08:00
mdns components/mdns: wrong Message compression detect 2017-11-03 16:52:22 +08:00
micro-ecc micro-ecc: Add submodule dependency 2016-11-17 09:18:51 +11:00
newlib newlib: Remove out of date libc_discard.list 2017-11-16 17:43:05 +11:00
nghttp Ensure that C++ and C compilers get the same preprocessor setup 2017-10-26 13:04:41 +02:00
nvs_flash nvs: fix nvs_flash_init_partition initializing default partition 2017-10-13 07:19:16 +08:00
openssl openssl wrapper: introduce X509_VERIFY_PARAM_set1_host 2017-11-20 16:24:06 +11:00
partition_table build system: fix warning about undefined variable 'quote' 2017-10-19 21:35:23 +08:00
pthread pthread: Fix pthread_once to use atomic compare and set 2017-11-07 14:28:43 +05:30
sdmmc sdmmc: allow command timeouts to be configured 2017-10-13 08:16:07 +08:00
soc soc/rtc: raise core voltage when 80MHz flash frequency is used 2017-11-08 21:13:02 +08:00
spi_flash spi_flash: Abort on writes to dangerous regions (bootloader, partition table, app) 2017-11-03 15:52:27 -07:00
spiffs unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
tcpip_adapter bugfix: add netif info in event message when got ipv6 address 2017-10-23 13:50:43 +08:00
ulp fix makefile for multiple source files 2017-11-03 16:40:15 +08:00
vfs add missing ioctl declaration 2017-10-23 19:47:33 +08:00
wear_levelling unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
wpa_supplicant Add the fast crypto function in supplicant 2017-08-09 21:36:13 +08:00
xtensa-debug-module esp32: Apptrace API enhancement 2017-07-24 19:57:44 +03:00