diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-09-29 22:59:37 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-09-29 22:59:37 -0600 |
commit | 924c47dd50a7b74136b8a60e9ea8d347ff65425b (patch) | |
tree | bcbaaeb98807a7cb12bf16188c66a5ea938d0255 /configure | |
parent | 879f42fa445aa684ffbab7d404941a9d24a4863a (diff) | |
download | alpine-924c47dd50a7b74136b8a60e9ea8d347ff65425b.tar.xz |
* Add the /tls1_3 modifier to establish connections use the TLS protocol
version 1.3.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 188 |
1 files changed, 0 insertions, 188 deletions
@@ -19355,194 +19355,6 @@ fi fi if test "x$alpine_SSLTYPE" != "xnone" ; then - if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5 -$as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; } -if ${ac_cv_search_TLSv1_2_client_method+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char TLSv1_2_client_method (); -int -main () -{ -return TLSv1_2_client_method (); - ; - return 0; -} -_ACEOF -for ac_lib in '' ssl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_TLSv1_2_client_method=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_TLSv1_2_client_method+:} false; then : - break -fi -done -if ${ac_cv_search_TLSv1_2_client_method+:} false; then : - -else - ac_cv_search_TLSv1_2_client_method=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5 -$as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; } -ac_res=$ac_cv_search_TLSv1_2_client_method -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - alpine_c_client_cflags="$alpine_c_client_cflags -DTLSV1_2" - -$as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h - - -fi - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5 -$as_echo_n "checking for library containing TLS_client_method... " >&6; } -if ${ac_cv_search_TLS_client_method+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char TLS_client_method (); -int -main () -{ -return TLS_client_method (); - ; - return 0; -} -_ACEOF -for ac_lib in '' ssl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_TLS_client_method=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_TLS_client_method+:} false; then : - break -fi -done -if ${ac_cv_search_TLS_client_method+:} false; then : - -else - ac_cv_search_TLS_client_method=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5 -$as_echo "$ac_cv_search_TLS_client_method" >&6; } -ac_res=$ac_cv_search_TLS_client_method -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -else - alpine_SSLTYPE="none" -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5 -$as_echo_n "checking for library containing DTLS_client_method... " >&6; } -if ${ac_cv_search_DTLS_client_method+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char DTLS_client_method (); -int -main () -{ -return DTLS_client_method (); - ; - return 0; -} -_ACEOF -for ac_lib in '' ssl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_DTLS_client_method=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_DTLS_client_method+:} false; then : - break -fi -done -if ${ac_cv_search_DTLS_client_method+:} false; then : - -else - ac_cv_search_DTLS_client_method=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5 -$as_echo "$ac_cv_search_DTLS_client_method" >&6; } -ac_res=$ac_cv_search_DTLS_client_method -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -else - alpine_SSLTYPE="none" -fi - - if test "x$alpine_SSLTYPE" != "xnone" ; then - alpine_c_client_cflags="$alpine_c_client_cflags -DTLSV1_2" - -$as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h - - fi - fi -fi - -if test "x$alpine_SSLTYPE" != "xnone" ; then if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5 $as_echo_n "checking for library containing SSL_library_init... " >&6; } |