Add strict-ssl-check option to avoid unexpected 56 error 75/244375/1 accepted/tizen_6.0_base_hotfix tizen_6.0_base_hotfix accepted/tizen/6.0/base/20201029.110343 accepted/tizen/6.0/base/hotfix/20201102.093310 accepted/tizen/base/20200922.032751 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_base/20200921.004003 tizen_6.0.m2_release
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 18 Sep 2020 01:09:50 +0000 (10:09 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 18 Sep 2020 01:09:59 +0000 (10:09 +0900)
commit1005a0359d3edbd8c0e178517bc606ccf0318b8f
tree4710f3f440b690c4e9e89837cfa413a5d61e7e3a
parent6f6c085af2495c03fdeb617363e2257d9d66eb33
Add strict-ssl-check option to avoid unexpected 56 error

SSL_ERROR_SYSCALL has been handled little stricter since curl 7.67.
(For example, 56 error occurs when server clase the connection abruptly
without a close_notify alert.)

The change is applied only in debug build for compatibility with older
peers.
However, Curl in Tizen is built with debug option.
So, Unexpected 56 error can occurs.

To avoid it, This patch creates new option and disable it.

Change-Id: I6d2b493aa1ce1ea2ce7fe1151f8948537e52c332
configure.ac
lib/vtls/openssl.c