Check-in [d5793ac87e]
Overview
SHA1:d5793ac87ecee97edb9e2ba2510df0754416ba85
Date: 2015-01-20 18:02:30
User: rkeene
Comment:Updated to disable SSLv2 in the TLS build script
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2015-01-20
18:11
[6155fc4201] Hacked in static linking to libssl if we built a static archive (user: rkeene, tags: trunk)
18:02
[d5793ac87e] Updated to disable SSLv2 in the TLS build script (user: rkeene, tags: trunk)
2014-12-19
02:33
[dc8653dae7] Updated to work correctly with cross-compiling (user: rkeene, tags: trunk)
Changes

Modified tls/build.sh from [425a7ec59e] to [3c6f8c4aef].

78
79
80
81
82
83
84



85
86
87
88
89
90
91
	if [ "${STATICTLS}" = "0" ]; then
		tryopts="--enable-shared --disable-shared"
	elif [ "${STATICTLS}" = "-1" ]; then
		tryopts="--enable-shared"
	else
		tryopts="--disable-shared"
	fi




	SAVE_CFLAGS="${CFLAGS}"
	for tryopt in $tryopts __fail__; do
		# Clean up, if needed
		make distclean >/dev/null 2>/dev/null
		rm -rf "${INSTDIR}"
		mkdir "${INSTDIR}"







>
>
>







78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
	if [ "${STATICTLS}" = "0" ]; then
		tryopts="--enable-shared --disable-shared"
	elif [ "${STATICTLS}" = "-1" ]; then
		tryopts="--enable-shared"
	else
		tryopts="--disable-shared"
	fi

	# Disable SSLv2, newer SSL libraries drop support for it entirely
	CFLAGS="${CFLAGS} -DNO_SSL2=1"

	SAVE_CFLAGS="${CFLAGS}"
	for tryopt in $tryopts __fail__; do
		# Clean up, if needed
		make distclean >/dev/null 2>/dev/null
		rm -rf "${INSTDIR}"
		mkdir "${INSTDIR}"