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
23
24
25
26
27
28

29
30
31
32
33

LOCAL_SRC_FILES := tls.c tlsIO.c tlsBIO.c tlsX509.c

LOCAL_CFLAGS := $(tcl_cflags) \
	-DPACKAGE_NAME="\"tls\"" \
	-DPACKAGE_VERSION="\"1.6.7\"" \
	-DNO_SSL2=1 \

	-O2

LOCAL_SHARED_LIBRARIES := libtcl libcrypto_tls libssl_tls

include $(BUILD_SHARED_LIBRARY)







>





22
23
24
25
26
27
28
29
30
31
32
33
34

LOCAL_SRC_FILES := tls.c tlsIO.c tlsBIO.c tlsX509.c

LOCAL_CFLAGS := $(tcl_cflags) \
	-DPACKAGE_NAME="\"tls\"" \
	-DPACKAGE_VERSION="\"1.6.7\"" \
	-DNO_SSL2=1 \
	-DNO_SSL3=1 \
	-O2

LOCAL_SHARED_LIBRARIES := libtcl libcrypto_tls libssl_tls

include $(BUILD_SHARED_LIBRARY)

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

399
400
401
402
403
404
405
406
407
408
409
410
411
412
413

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --prefix=${PFX} --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail







|







399
400
401
402
403
404
405
406
407
408
409
410
411
412
413

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --prefix=${PFX} --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

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

401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=i586-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=i586-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=x86_64-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=x86_64-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

427
428
429
430
431
432
433
434
435
436
437
438
439
440
441

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
    --build=i386-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







427
428
429
430
431
432
433
434
435
436
437
438
439
440
441

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
    --build=i386-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

421
422
423
424
425
426
427
428
429
430
431
432
433
434
435

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
    --build=x86_64-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







421
422
423
424
425
426
427
428
429
430
431
432
433
434
435

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
    --build=x86_64-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

400
401
402
403
404
405
406
407
408
409
410
411
412
413
414

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







400
401
402
403
404
405
406
407
408
409
410
411
412
413
414

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=i586-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=i586-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=x86_64-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" LDFLAGS="-lrt" DESTDIR=${HERE} ./configure \
    --build=x86_64-linux-gnu --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

428
429
430
431
432
433
434
435
436
437
438
439
440
441
442

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
    --build=i386-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







428
429
430
431
432
433
434
435
436
437
438
439
440
441
442

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
    --build=i386-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"

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

422
423
424
425
426
427
428
429
430
431
432
433
434
435
436

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1" DESTDIR=${HERE} ./configure \
    --build=x86_64-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"







|







422
423
424
425
426
427
428
429
430
431
432
433
434
435
436

echo -n "build tls ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tls
  test -e build-stamp && echo >&3 "already done" && exit 0
  CFLAGS="-DNO_SSL2=1 -DNO_SSL3=1" DESTDIR=${HERE} ./configure \
    --build=x86_64-windows-mingw32 --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/win --enable-threads \
    --with-ssl-dir=${PFX_HERE} || exit 1
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"