summaryrefslogtreecommitdiff
path: root/src/examples/ecore
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2018-06-20 14:11:52 +0100
committerAlastair Poole <netstar@gmail.com>2018-06-20 14:17:25 +0100
commitd1cbd161bdf1bcb9c0c8429210647245a31559a4 (patch)
treefe39069911865f64bfe3cefb847104146c8bcc97 /src/examples/ecore
parenta8532e4ed6eeb187b95ebaa37f52188d2208f487 (diff)
Patch for T6342
Summary: Deprecate SSLv3. Reviewers: zmike, raster, devilhorns Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6334
Diffstat (limited to 'src/examples/ecore')
-rw-r--r--src/examples/ecore/efl_net_server_example.c3
-rw-r--r--src/examples/ecore/efl_net_server_simple_example.c3
-rw-r--r--src/examples/ecore/efl_net_socket_ssl_dialer_example.c3
-rw-r--r--src/examples/ecore/efl_net_socket_ssl_server_example.c3
4 files changed, 0 insertions, 12 deletions
diff --git a/src/examples/ecore/efl_net_server_example.c b/src/examples/ecore/efl_net_server_example.c
index 25188b31c4..d98e66bb35 100644
--- a/src/examples/ecore/efl_net_server_example.c
+++ b/src/examples/ecore/efl_net_server_example.c
@@ -467,7 +467,6 @@ static const char * protocols[] = {
467 467
468static const char *ciphers_strs[] = { 468static const char *ciphers_strs[] = {
469 "auto", 469 "auto",
470 "sslv3",
471 "tlsv1", 470 "tlsv1",
472 "tlsv1.1", 471 "tlsv1.1",
473 "tlsv1.2", 472 "tlsv1.2",
@@ -702,8 +701,6 @@ efl_main(void *data EINA_UNUSED,
702 { 701 {
703 if (strcmp(cipher_choice, "auto") == 0) 702 if (strcmp(cipher_choice, "auto") == 0)
704 cipher = EFL_NET_SSL_CIPHER_AUTO; 703 cipher = EFL_NET_SSL_CIPHER_AUTO;
705 else if (strcmp(cipher_choice, "sslv3") == 0)
706 cipher = EFL_NET_SSL_CIPHER_SSLV3;
707 else if (strcmp(cipher_choice, "tlsv1") == 0) 704 else if (strcmp(cipher_choice, "tlsv1") == 0)
708 cipher = EFL_NET_SSL_CIPHER_TLSV1; 705 cipher = EFL_NET_SSL_CIPHER_TLSV1;
709 else if (strcmp(cipher_choice, "tlsv1.1") == 0) 706 else if (strcmp(cipher_choice, "tlsv1.1") == 0)
diff --git a/src/examples/ecore/efl_net_server_simple_example.c b/src/examples/ecore/efl_net_server_simple_example.c
index 998ad66ca5..a68e9b9fb9 100644
--- a/src/examples/ecore/efl_net_server_simple_example.c
+++ b/src/examples/ecore/efl_net_server_simple_example.c
@@ -271,7 +271,6 @@ static const char * protocols[] = {
271 271
272static const char *ciphers_strs[] = { 272static const char *ciphers_strs[] = {
273 "auto", 273 "auto",
274 "sslv3",
275 "tlsv1", 274 "tlsv1",
276 "tlsv1.1", 275 "tlsv1.1",
277 "tlsv1.2", 276 "tlsv1.2",
@@ -510,8 +509,6 @@ efl_main(void *data EINA_UNUSED,
510 { 509 {
511 if (strcmp(cipher_choice, "auto") == 0) 510 if (strcmp(cipher_choice, "auto") == 0)
512 cipher = EFL_NET_SSL_CIPHER_AUTO; 511 cipher = EFL_NET_SSL_CIPHER_AUTO;
513 else if (strcmp(cipher_choice, "sslv3") == 0)
514 cipher = EFL_NET_SSL_CIPHER_SSLV3;
515 else if (strcmp(cipher_choice, "tlsv1") == 0) 512 else if (strcmp(cipher_choice, "tlsv1") == 0)
516 cipher = EFL_NET_SSL_CIPHER_TLSV1; 513 cipher = EFL_NET_SSL_CIPHER_TLSV1;
517 else if (strcmp(cipher_choice, "tlsv1.1") == 0) 514 else if (strcmp(cipher_choice, "tlsv1.1") == 0)
diff --git a/src/examples/ecore/efl_net_socket_ssl_dialer_example.c b/src/examples/ecore/efl_net_socket_ssl_dialer_example.c
index 75acb0b42d..10cec47dda 100644
--- a/src/examples/ecore/efl_net_socket_ssl_dialer_example.c
+++ b/src/examples/ecore/efl_net_socket_ssl_dialer_example.c
@@ -231,7 +231,6 @@ static const char *verify_mode_strs[] = {
231 231
232static const char *ciphers_strs[] = { 232static const char *ciphers_strs[] = {
233 "auto", 233 "auto",
234 "sslv3",
235 "tlsv1", 234 "tlsv1",
236 "tlsv1.1", 235 "tlsv1.1",
237 "tlsv1.2", 236 "tlsv1.2",
@@ -416,8 +415,6 @@ efl_main(void *data EINA_UNUSED,
416 { 415 {
417 if (strcmp(cipher_choice, "auto") == 0) 416 if (strcmp(cipher_choice, "auto") == 0)
418 cipher = EFL_NET_SSL_CIPHER_AUTO; 417 cipher = EFL_NET_SSL_CIPHER_AUTO;
419 else if (strcmp(cipher_choice, "sslv3") == 0)
420 cipher = EFL_NET_SSL_CIPHER_SSLV3;
421 else if (strcmp(cipher_choice, "tlsv1") == 0) 418 else if (strcmp(cipher_choice, "tlsv1") == 0)
422 cipher = EFL_NET_SSL_CIPHER_TLSV1; 419 cipher = EFL_NET_SSL_CIPHER_TLSV1;
423 else if (strcmp(cipher_choice, "tlsv1.1") == 0) 420 else if (strcmp(cipher_choice, "tlsv1.1") == 0)
diff --git a/src/examples/ecore/efl_net_socket_ssl_server_example.c b/src/examples/ecore/efl_net_socket_ssl_server_example.c
index 38e93b6dbe..2babc8b6a0 100644
--- a/src/examples/ecore/efl_net_socket_ssl_server_example.c
+++ b/src/examples/ecore/efl_net_socket_ssl_server_example.c
@@ -157,7 +157,6 @@ EFL_CALLBACKS_ARRAY_DEFINE(server_cbs,
157 157
158static const char *ciphers_strs[] = { 158static const char *ciphers_strs[] = {
159 "auto", 159 "auto",
160 "sslv3",
161 "tlsv1", 160 "tlsv1",
162 "tlsv1.1", 161 "tlsv1.1",
163 "tlsv1.2", 162 "tlsv1.2",
@@ -291,8 +290,6 @@ efl_main(void *data EINA_UNUSED,
291 { 290 {
292 if (strcmp(cipher_choice, "auto") == 0) 291 if (strcmp(cipher_choice, "auto") == 0)
293 cipher = EFL_NET_SSL_CIPHER_AUTO; 292 cipher = EFL_NET_SSL_CIPHER_AUTO;
294 else if (strcmp(cipher_choice, "sslv3") == 0)
295 cipher = EFL_NET_SSL_CIPHER_SSLV3;
296 else if (strcmp(cipher_choice, "tlsv1") == 0) 293 else if (strcmp(cipher_choice, "tlsv1") == 0)
297 cipher = EFL_NET_SSL_CIPHER_TLSV1; 294 cipher = EFL_NET_SSL_CIPHER_TLSV1;
298 else if (strcmp(cipher_choice, "tlsv1.1") == 0) 295 else if (strcmp(cipher_choice, "tlsv1.1") == 0)