summaryrefslogtreecommitdiffstats
path: root/package/polarssl/polarssl-0001-no-test-suite.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-01-26 17:29:17 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-01-26 23:13:44 +0100
commitd663af559e3c66603fb8cb3a0b029c40d29bc57a (patch)
treed2f4488df4c78adb08f2a284dcd3838f347ec36b /package/polarssl/polarssl-0001-no-test-suite.patch
parent349c9c7fac4bf8cd7d781e8aab6edc47b7ceb7c2 (diff)
downloadbuildroot-d663af559e3c66603fb8cb3a0b029c40d29bc57a.tar.gz
buildroot-d663af559e3c66603fb8cb3a0b029c40d29bc57a.zip
polarssl: add fix for CVE-2015-1182
Fixes CVE-2015-1182 - Remote attack using crafted certificates. Also rename patches to new naming convention. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/polarssl/polarssl-0001-no-test-suite.patch')
-rw-r--r--package/polarssl/polarssl-0001-no-test-suite.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/polarssl/polarssl-0001-no-test-suite.patch b/package/polarssl/polarssl-0001-no-test-suite.patch
deleted file mode 100644
index 4c8552a948..0000000000
--- a/package/polarssl/polarssl-0001-no-test-suite.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Add BUILD_TESTS option to disable test suite
-
-By default, PolarSSL builds a fairly extensive test suite to validate
-the library. In the context of Buildroot, building this test suite is
-not really useful, so we add a BUILD_TESTS to disable its build.
-
-[Gustavo: update for 1.2.11]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura polarssl-1.2.11.orig/CMakeLists.txt polarssl-1.2.11/CMakeLists.txt
---- polarssl-1.2.11.orig/CMakeLists.txt 2014-07-11 17:14:43.414651327 -0300
-+++ polarssl-1.2.11/CMakeLists.txt 2014-07-11 17:23:00.573498626 -0300
-@@ -49,9 +49,11 @@
- add_subdirectory(library)
- add_subdirectory(include)
-
--if(CMAKE_COMPILER_IS_GNUCC)
-+option(BUILD_TESTS "Build tests." ON)
-+
-+if(CMAKE_COMPILER_IS_GNUCC AND BUILD_TESTS)
- add_subdirectory(tests)
--endif(CMAKE_COMPILER_IS_GNUCC)
-+endif(CMAKE_COMPILER_IS_GNUCC AND BUILD_TESTS)
- if(CMAKE_COMPILER_IS_CLANG)
- add_subdirectory(tests)
- endif(CMAKE_COMPILER_IS_CLANG)
OpenPOWER on IntegriCloud