Check-in [6b64b4fafa]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:turn off ssl3 in tls for [AndroWish] and [undroidwish]
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6b64b4fafa0777040c9999c17b69adf4f71607a8
User & Date: chw 2016-11-06 22:17:36
Context
2016-11-07
06:00
update libressl to version 2.4.3 check-in: 0806b8d33b user: chw tags: trunk
2016-11-06
22:17
turn off ssl3 in tls for [AndroWish] and [undroidwish] check-in: 6b64b4fafa user: chw tags: trunk
22:14
turn off ssl3 in tkchat check-in: 2fb4e30853 user: chw tags: trunk
Changes

Changes to jni/tls/Android.mk.

    22     22   
    23     23   LOCAL_SRC_FILES := tls.c tlsIO.c tlsBIO.c tlsX509.c
    24     24   
    25     25   LOCAL_CFLAGS := $(tcl_cflags) \
    26     26   	-DPACKAGE_NAME="\"tls\"" \
    27     27   	-DPACKAGE_VERSION="\"1.6.7\"" \
    28     28   	-DNO_SSL2=1 \
           29  +	-DNO_SSL3=1 \
    29     30   	-O2
    30     31   
    31     32   LOCAL_SHARED_LIBRARIES := libtcl libcrypto_tls libssl_tls
    32     33   
    33     34   include $(BUILD_SHARED_LIBRARY)

Changes to undroid/build-undroidwish-generic.sh.

   399    399   
   400    400   echo -n "build tls ... "
   401    401   (
   402    402     exec 3>&1
   403    403     exec >> build.log 2>&1
   404    404     cd tls
   405    405     test -e build-stamp && echo >&3 "already done" && exit 0
   406         -  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
          406  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
   407    407       --prefix=${PFX} --with-tcl=${HERE}/tcl/unix --enable-threads \
   408    408       --with-ssl-dir=${PFX_HERE} || exit 1
   409    409     make || exit 1
   410    410     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   411    411     touch build-stamp
   412    412     echo >&3 "done"
   413    413   ) || fail

Changes to undroid/build-undroidwish-linux32.sh.

   401    401   
   402    402   echo -n "build tls ... "
   403    403   (
   404    404     exec 3>&1
   405    405     exec >> build.log 2>&1
   406    406     cd tls
   407    407     test -e build-stamp && echo >&3 "already done" && exit 0
   408         -  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
          408  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
   409    409       --build=i586-linux-gnu --prefix=${PFX} \
   410    410       --with-tcl=${HERE}/tcl/unix --enable-threads \
   411    411       --with-ssl-dir=${PFX_HERE} || exit 1
   412    412     make || exit 1
   413    413     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   414    414     touch build-stamp
   415    415     echo >&3 "done"

Changes to undroid/build-undroidwish-linux64.sh.

   401    401   
   402    402   echo -n "build tls ... "
   403    403   (
   404    404     exec 3>&1
   405    405     exec >> build.log 2>&1
   406    406     cd tls
   407    407     test -e build-stamp && echo >&3 "already done" && exit 0
   408         -  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
          408  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
   409    409       --build=x86_64-linux-gnu --prefix=${PFX} \
   410    410       --with-tcl=${HERE}/tcl/unix --enable-threads \
   411    411       --with-ssl-dir=${PFX_HERE} || exit 1
   412    412     make || exit 1
   413    413     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   414    414     touch build-stamp
   415    415     echo >&3 "done"

Changes to undroid/build-undroidwish-win32.sh.

   427    427   
   428    428   echo -n "build tls ... "
   429    429   (
   430    430     exec 3>&1
   431    431     exec >> build.log 2>&1
   432    432     cd tls
   433    433     test -e build-stamp && echo >&3 "already done" && exit 0
   434         -  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
          434  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
   435    435       --build=i386-windows-mingw32 --prefix=${PFX} \
   436    436       --with-tcl=${HERE}/tcl/win --enable-threads \
   437    437       --with-ssl-dir=${PFX_HERE} || exit 1
   438    438     make || exit 1
   439    439     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   440    440     touch build-stamp
   441    441     echo >&3 "done"

Changes to undroid/build-undroidwish-win64.sh.

   421    421   
   422    422   echo -n "build tls ... "
   423    423   (
   424    424     exec 3>&1
   425    425     exec >> build.log 2>&1
   426    426     cd tls
   427    427     test -e build-stamp && echo >&3 "already done" && exit 0
   428         -  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
          428  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
   429    429       --build=x86_64-windows-mingw32 --prefix=${PFX} \
   430    430       --with-tcl=${HERE}/tcl/win --enable-threads \
   431    431       --with-ssl-dir=${PFX_HERE} || exit 1
   432    432     make || exit 1
   433    433     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   434    434     touch build-stamp
   435    435     echo >&3 "done"

Changes to undroid/build-vanilla-generic.sh.

   400    400   
   401    401   echo -n "build tls ... "
   402    402   (
   403    403     exec 3>&1
   404    404     exec >> build.log 2>&1
   405    405     cd tls
   406    406     test -e build-stamp && echo >&3 "already done" && exit 0
   407         -  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
          407  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
   408    408       --prefix=${PFX} \
   409    409       --with-tcl=${HERE}/tcl/unix --enable-threads \
   410    410       --with-ssl-dir=${PFX_HERE} || exit 1
   411    411     make || exit 1
   412    412     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   413    413     touch build-stamp
   414    414     echo >&3 "done"

Changes to undroid/build-vanilla-linux32.sh.

   401    401   
   402    402   echo -n "build tls ... "
   403    403   (
   404    404     exec 3>&1
   405    405     exec >> build.log 2>&1
   406    406     cd tls
   407    407     test -e build-stamp && echo >&3 "already done" && exit 0
   408         -  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
          408  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
   409    409       --build=i586-linux-gnu --prefix=${PFX} \
   410    410       --with-tcl=${HERE}/tcl/unix --enable-threads \
   411    411       --with-ssl-dir=${PFX_HERE} || exit 1
   412    412     make || exit 1
   413    413     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   414    414     touch build-stamp
   415    415     echo >&3 "done"

Changes to undroid/build-vanilla-linux64.sh.

   401    401   
   402    402   echo -n "build tls ... "
   403    403   (
   404    404     exec 3>&1
   405    405     exec >> build.log 2>&1
   406    406     cd tls
   407    407     test -e build-stamp && echo >&3 "already done" && exit 0
   408         -  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
          408  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
   409    409       --build=x86_64-linux-gnu --prefix=${PFX} \
   410    410       --with-tcl=${HERE}/tcl/unix --enable-threads \
   411    411       --with-ssl-dir=${PFX_HERE} || exit 1
   412    412     make || exit 1
   413    413     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   414    414     touch build-stamp
   415    415     echo >&3 "done"

Changes to undroid/build-vanilla-win32.sh.

   428    428   
   429    429   echo -n "build tls ... "
   430    430   (
   431    431     exec 3>&1
   432    432     exec >> build.log 2>&1
   433    433     cd tls
   434    434     test -e build-stamp && echo >&3 "already done" && exit 0
   435         -  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
          435  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
   436    436       --build=i386-windows-mingw32 --prefix=${PFX} \
   437    437       --with-tcl=${HERE}/tcl/win --enable-threads \
   438    438       --with-ssl-dir=${PFX_HERE} || exit 1
   439    439     make || exit 1
   440    440     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   441    441     touch build-stamp
   442    442     echo >&3 "done"

Changes to undroid/build-vanilla-win64.sh.

   422    422   
   423    423   echo -n "build tls ... "
   424    424   (
   425    425     exec 3>&1
   426    426     exec >> build.log 2>&1
   427    427     cd tls
   428    428     test -e build-stamp && echo >&3 "already done" && exit 0
   429         -  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
          429  +  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
   430    430       --build=x86_64-windows-mingw32 --prefix=${PFX} \
   431    431       --with-tcl=${HERE}/tcl/win --enable-threads \
   432    432       --with-ssl-dir=${PFX_HERE} || exit 1
   433    433     make || exit 1
   434    434     make install-binaries install-libraries DESTDIR=${HERE} || exit 1
   435    435     touch build-stamp
   436    436     echo >&3 "done"