summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2018-09-29 16:59:47 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2018-10-01 13:51:02 -0300
commit948d257eee170bf1d6dc40a01d9bf17a3c3549b9 (patch)
tree2602d7d34fe85807f1b45c97821c9bb5ae4e9db0 /recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch
parent6c2aabd5a2f5e81c1f1b18df20523cd12d6a344e (diff)
downloadmeta-freescale-948d257eee170bf1d6dc40a01d9bf17a3c3549b9.tar.gz
openssl-qoriq: update to 1.1.0
*update to lsdk 1809 tag include the following changes: c2300d1 - eng_cryptodev: add support for TLS algorithms offload b2758a2 - Prepare for 1.1.0g release 6190960 - Update CHANGES and NEWS for new release 4443cf7 - bn/asm/x86_64-mont5.pl: fix carry bug in bn_sqrx8x_internal. b701fa8 - Fix small but important regression ab91952 - Address a timing side channel whereby it is possible to determine some 7184480 - Address a timing side channel whereby it is possible to determine some bb0c588 - Travis: Add a docs checking job df45d1a - docs: assign section 7 where appropriate 847685c - doc/crypto/OPENSSL_secure_malloc: add missing names 4401e28 - docs: fixup OpenSSL version style 41d74a5 - Adapt util/find-doc-nits back to 1.1.0 7fb4278 - Fix EVP_PKEY_ASN1_METHOD manual 0d9fece - afalg: Fix kernel version check a0c2626 - afalg: Use eventfd2 syscall instead of eventfd 605fa68 - EVP_PKEY_asn1_add0(): Check that this method isn't already registered 6088fb7 - Document EVP_PKEY_ASN1_METHOD and associated functions 5a3d24a - Only reset the ctx when a cipher is given 257a03c - Add missing paren. *update to 1.1.1 Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch')
-rw-r--r--recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch b/recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch
new file mode 100644
index 000000000..736bb39ac
--- /dev/null
+++ b/recipes-connectivity/openssl/openssl-qoriq/0001-Remove-test-that-requires-running-as-non-root.patch
@@ -0,0 +1,49 @@
1From 3fdb1e2a16ea405c6731447a8994f222808ef7e6 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 7 Apr 2017 18:01:52 +0300
4Subject: [PATCH] Remove test that requires running as non-root
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 test/recipes/40-test_rehash.t | 17 +----------------
10 1 file changed, 1 insertion(+), 16 deletions(-)
11
12diff --git a/test/recipes/40-test_rehash.t b/test/recipes/40-test_rehash.t
13index f902c23..c7567c1 100644
14--- a/test/recipes/40-test_rehash.t
15+++ b/test/recipes/40-test_rehash.t
16@@ -23,7 +23,7 @@ setup("test_rehash");
17 plan skip_all => "test_rehash is not available on this platform"
18 unless run(app(["openssl", "rehash", "-help"]));
19
20-plan tests => 5;
21+plan tests => 3;
22
23 indir "rehash.$$" => sub {
24 prepare();
25@@ -42,21 +42,6 @@ indir "rehash.$$" => sub {
26 'Testing rehash operations on empty directory');
27 }, create => 1, cleanup => 1;
28
29-indir "rehash.$$" => sub {
30- prepare();
31- chmod 0500, curdir();
32- SKIP: {
33- if (!ok(!open(FOO, ">unwritable.txt"),
34- "Testing that we aren't running as a privileged user, such as root")) {
35- close FOO;
36- skip "It's pointless to run the next test as root", 1;
37- }
38- isnt(run(app(["openssl", "rehash", curdir()])), 1,
39- 'Testing rehash operations on readonly directory');
40- }
41- chmod 0700, curdir(); # make it writable again, so cleanup works
42-}, create => 1, cleanup => 1;
43-
44 sub prepare {
45 my @pemsourcefiles = sort glob(srctop_file('test', "*.pem"));
46 my @destfiles = ();
47--
482.11.0
49