1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
From ff2148e2aec6c8fb9717f655aee424d9ec59f802 Mon Sep 17 00:00:00 2001
From: "xiaolongx.jiang" <xiaolongx.jiang@intel.com>
Date: Wed, 13 May 2020 09:42:07 +0000
Subject: [PATCH] 3.0.0
Signed-off-by: xiaolongx.jiang <xiaolongx.jiang@intel.com>
---
src/plugins/crypto_openssl/CMakeLists.txt | 26 ----------------
src/plugins/ikev2/CMakeLists.txt | 38 -----------------------
src/plugins/tlsopenssl/tls_openssl.c | 2 --
3 files changed, 66 deletions(-)
delete mode 100644 src/plugins/crypto_openssl/CMakeLists.txt
delete mode 100644 src/plugins/ikev2/CMakeLists.txt
diff --git a/src/plugins/crypto_openssl/CMakeLists.txt b/src/plugins/crypto_openssl/CMakeLists.txt
deleted file mode 100644
index d014144ec..000000000
--- a/src/plugins/crypto_openssl/CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright (c) 2018 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-if(NOT OPENSSL_FOUND)
- return()
-endif()
-
-include_directories(${OPENSSL_INCLUDE_DIR})
-
-add_vpp_plugin(crypto_openssl
- SOURCES
- main.c
-
- LINK_LIBRARIES
- ${OPENSSL_LIBRARIES}
-)
diff --git a/src/plugins/ikev2/CMakeLists.txt b/src/plugins/ikev2/CMakeLists.txt
deleted file mode 100644
index dac246524..000000000
--- a/src/plugins/ikev2/CMakeLists.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright (c) 2018 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-add_definitions (-DWITH_LIBSSL=1)
-include_directories(${OPENSSL_INCLUDE_DIR})
-
-add_vpp_plugin(ikev2
- SOURCES
- ikev2.c
- ikev2_api.c
- ikev2_cli.c
- ikev2_crypto.c
- ikev2_format.c
- ikev2_payload.c
-
- API_FILES
- ikev2.api
-
- API_TEST_SOURCES
- ikev2_test.c
-
- INSTALL_HEADERS
- ikev2.h
- ikev2_priv.h
-
- LINK_LIBRARIES
- ${OPENSSL_LIBRARIES}
-)
diff --git a/src/plugins/tlsopenssl/tls_openssl.c b/src/plugins/tlsopenssl/tls_openssl.c
index 669a50348..a9799a21f 100644
--- a/src/plugins/tlsopenssl/tls_openssl.c
+++ b/src/plugins/tlsopenssl/tls_openssl.c
@@ -564,7 +564,6 @@ openssl_ctx_init_client (tls_ctx_t * ctx)
return -1;
}
- SSL_CTX_set_ecdh_auto (oc->ssl_ctx, 1);
SSL_CTX_set_mode (oc->ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE);
#ifdef HAVE_OPENSSL_ASYNC
if (om->async)
@@ -680,7 +679,6 @@ openssl_start_listen (tls_ctx_t * lctx)
}
#endif
SSL_CTX_set_options (ssl_ctx, flags);
- SSL_CTX_set_ecdh_auto (ssl_ctx, 1);
rv = SSL_CTX_set_cipher_list (ssl_ctx, (const char *) om->ciphers);
if (rv != 1)
--
2.17.1
|