wolfssl: Use ECC supported curves extension

https://github.com/wolfSSL/wolfssl/issues/366
This commit is contained in:
Jay Satiro 2016-03-29 19:06:55 -04:00
parent 27c99a37ba
commit 7921628714
3 changed files with 26 additions and 1 deletions

View file

@ -2206,11 +2206,13 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
dnl Recent WolfSSL versions build without SSLv3 by default
dnl WolfSSL needs configure --enable-opensslextra to have *get_peer*
AC_CHECK_FUNCS(wolfSSLv3_client_method \
wolfSSL_CTX_UseSupportedCurve \
wolfSSL_get_peer_certificate \
wolfSSL_UseALPN)
else
dnl Cyassl needs configure --enable-opensslextra to have *get_peer*
AC_CHECK_FUNCS(CyaSSL_get_peer_certificate)
AC_CHECK_FUNCS(CyaSSL_CTX_UseSupportedCurve \
CyaSSL_get_peer_certificate)
fi
if test -n "$cyassllib"; then