summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/strongswan
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-04-07 15:54:33 -0700
committerArmin Kuster <akuster808@gmail.com>2018-04-13 12:43:40 -0700
commitaa7b7cd364723de5c1e3b587bddb376b8b0e53c5 (patch)
tree3aceb41a01b7f16a2628159a7ab110d4b0b64145 /meta-networking/recipes-support/strongswan
parent268e9ef7206b8fb959099510da960f54639a0be0 (diff)
downloadmeta-openembedded-aa7b7cd364723de5c1e3b587bddb376b8b0e53c5.tar.gz
strongswan: refresh patches
WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c Hunk #1 succeeded at 192 (offset 50 lines). Hunk #2 succeeded at 255 with fuzz 1 (offset 58 lines). checking file src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h Hunk #1 succeeded at 43 (offset -1 lines). checking file src/libstrongswan/plugins/openssl/openssl_plugin.c Hunk #1 succeeded at 609 (offset 221 lines). Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/strongswan')
-rw-r--r--meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch8
-rw-r--r--meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch31
2 files changed, 19 insertions, 20 deletions
diff --git a/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch b/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch
index 7ebc39818..00178c84a 100644
--- a/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch
+++ b/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch
@@ -1,15 +1,16 @@
1From 2a3ab04bbdc4624792886aa51579eadb427ef99e Mon Sep 17 00:00:00 2001 1From 33a53dc13fd924949a582109b45fedd8d0bed59b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 27 Jun 2017 07:42:11 -0700 3Date: Tue, 27 Jun 2017 07:42:11 -0700
4Subject: [PATCH] memory.h: Include stdint.h for uintptr_t 4Subject: [PATCH] memory.h: Include stdint.h for uintptr_t
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
7--- 8---
8 src/libstrongswan/utils/utils/memory.h | 2 ++ 9 src/libstrongswan/utils/utils/memory.h | 2 ++
9 1 file changed, 2 insertions(+) 10 1 file changed, 2 insertions(+)
10 11
11diff --git a/src/libstrongswan/utils/utils/memory.h b/src/libstrongswan/utils/utils/memory.h 12diff --git a/src/libstrongswan/utils/utils/memory.h b/src/libstrongswan/utils/utils/memory.h
12index b978e7c..55aaaf5 100644 13index e840330..8a356a8 100644
13--- a/src/libstrongswan/utils/utils/memory.h 14--- a/src/libstrongswan/utils/utils/memory.h
14+++ b/src/libstrongswan/utils/utils/memory.h 15+++ b/src/libstrongswan/utils/utils/memory.h
15@@ -22,6 +22,8 @@ 16@@ -22,6 +22,8 @@
@@ -21,6 +22,3 @@ index b978e7c..55aaaf5 100644
21 /** 22 /**
22 * Helper function that compares two binary blobs for equality 23 * Helper function that compares two binary blobs for equality
23 */ 24 */
24--
252.13.2
26
diff --git a/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch b/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch
index 846e0c693..be660d1fd 100644
--- a/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch
+++ b/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch
@@ -1,4 +1,7 @@
1fix the function parameter 1From 9f97479373f3fceedc471074b81486d77a49618d Mon Sep 17 00:00:00 2001
2From: "Roy.Li" <rongqing.li@windriver.com>
3Date: Tue, 4 Mar 2014 14:38:42 +0800
4Subject: [PATCH] fix the function parameter
2 5
3Upstream-Status: pending 6Upstream-Status: pending
4 7
@@ -31,9 +34,10 @@ on PPC, Now we simply correct the number of parameters.
31 #11 0x4836c378 in process_message (this=0x514005f0, message=0x51500778) 34 #11 0x4836c378 in process_message (this=0x514005f0, message=0x51500778)
32 at sa/ike_sa.c:1317 35 at sa/ike_sa.c:1317
33 #12 0x48362270 in execute (this=0x515008d0) 36 #12 0x48362270 in execute (this=0x515008d0)
34 at processing/jobs/process_message_job.c:74 37 at processing/jobs/process_message_job.c:74
35 38
36Signed-off-by: Roy.Li <rongqing.li@windriver.com> 39Signed-off-by: Roy.Li <rongqing.li@windriver.com>
40
37--- 41---
38 src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c | 8 +++++++- 42 src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c | 8 +++++++-
39 src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h | 4 +++- 43 src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h | 4 +++-
@@ -41,20 +45,20 @@ Signed-off-by: Roy.Li <rongqing.li@windriver.com>
41 3 files changed, 11 insertions(+), 2 deletions(-) 45 3 files changed, 11 insertions(+), 2 deletions(-)
42 46
43diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c 47diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c
44index ff33824..bd21446 100644 48index 8e9c118..a73b038 100644
45--- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c 49--- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c
46+++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c 50+++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c
47@@ -142,7 +142,7 @@ METHOD(diffie_hellman_t, destroy, void, 51@@ -192,7 +192,7 @@ METHOD(diffie_hellman_t, destroy, void,
48 /* 52 /*
49 * Described in header. 53 * Described in header.
50 */ 54 */
51-openssl_diffie_hellman_t *openssl_diffie_hellman_create( 55-openssl_diffie_hellman_t *openssl_diffie_hellman_create(
52+openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom( 56+openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom(
53 diffie_hellman_group_t group, ...) 57 diffie_hellman_group_t group, ...)
54 { 58 {
55 private_openssl_diffie_hellman_t *this; 59 private_openssl_diffie_hellman_t *this;
56@@ -197,5 +197,11 @@ openssl_diffie_hellman_t *openssl_diffie_hellman_create( 60@@ -255,5 +255,11 @@ openssl_diffie_hellman_t *openssl_diffie_hellman_create(
57 61 DBG2(DBG_LIB, "size of DH secret exponent: %d bits", BN_num_bits(privkey));
58 return &this->public; 62 return &this->public;
59 } 63 }
60+openssl_diffie_hellman_t *openssl_diffie_hellman_create( diffie_hellman_group_t group) 64+openssl_diffie_hellman_t *openssl_diffie_hellman_create( diffie_hellman_group_t group)
@@ -66,26 +70,26 @@ index ff33824..bd21446 100644
66 70
67 #endif /* OPENSSL_NO_DH */ 71 #endif /* OPENSSL_NO_DH */
68diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h 72diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h
69index 53dc59c..eb69eaa 100644 73index 5de5520..22586e0 100644
70--- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h 74--- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h
71+++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h 75+++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h
72@@ -44,8 +44,10 @@ struct openssl_diffie_hellman_t { 76@@ -43,8 +43,10 @@ struct openssl_diffie_hellman_t {
73 * @param ... expects generator and prime as chunk_t if MODP_CUSTOM 77 * @param ... expects generator and prime as chunk_t if MODP_CUSTOM
74 * @return openssl_diffie_hellman_t object, NULL if not supported 78 * @return openssl_diffie_hellman_t object, NULL if not supported
75 */ 79 */
76-openssl_diffie_hellman_t *openssl_diffie_hellman_create( 80-openssl_diffie_hellman_t *openssl_diffie_hellman_create(
77+openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom( 81+openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom(
78 diffie_hellman_group_t group, ...); 82 diffie_hellman_group_t group, ...);
79+openssl_diffie_hellman_t *openssl_diffie_hellman_create( 83+openssl_diffie_hellman_t *openssl_diffie_hellman_create(
80+ diffie_hellman_group_t group); 84+ diffie_hellman_group_t group);
81 85
82 #endif /** OPENSSL_DIFFIE_HELLMAN_H_ @}*/ 86 #endif /** OPENSSL_DIFFIE_HELLMAN_H_ @}*/
83 87
84diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c 88diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c
85index ff25086..c76873d 100644 89index 8b0a7c5..114d575 100644
86--- a/src/libstrongswan/plugins/openssl/openssl_plugin.c 90--- a/src/libstrongswan/plugins/openssl/openssl_plugin.c
87+++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c 91+++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c
88@@ -388,6 +388,7 @@ METHOD(plugin_t, get_features, int, 92@@ -609,6 +609,7 @@ METHOD(plugin_t, get_features, int,
89 PLUGIN_PROVIDE(DH, MODP_1024_BIT), 93 PLUGIN_PROVIDE(DH, MODP_1024_BIT),
90 PLUGIN_PROVIDE(DH, MODP_1024_160), 94 PLUGIN_PROVIDE(DH, MODP_1024_160),
91 PLUGIN_PROVIDE(DH, MODP_768_BIT), 95 PLUGIN_PROVIDE(DH, MODP_768_BIT),
@@ -93,6 +97,3 @@ index ff25086..c76873d 100644
93 PLUGIN_PROVIDE(DH, MODP_CUSTOM), 97 PLUGIN_PROVIDE(DH, MODP_CUSTOM),
94 #endif 98 #endif
95 #ifndef OPENSSL_NO_RSA 99 #ifndef OPENSSL_NO_RSA
96--
971.8.3
98