summaryrefslogtreecommitdiff
path: root/src/lib/emile
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-11-09 10:30:00 -0800
committerCedric BAIL <cedric@osg.samsung.com>2015-11-09 10:30:00 -0800
commit23d8d71e083f24232cf316e8b272e3c8588141db (patch)
treef68c9aeb3571ff2c7204f0bc7969fdd088ef8248 /src/lib/emile
parent2712260d751480e82d5329ff435570b902aa05be (diff)
emile: deprecate the use of SSLv3 with GNUTLS backend to.
Diffstat (limited to 'src/lib/emile')
-rw-r--r--src/lib/emile/emile_cipher_gnutls.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/emile/emile_cipher_gnutls.c b/src/lib/emile/emile_cipher_gnutls.c
index d9577d7139..491ba789bd 100644
--- a/src/lib/emile/emile_cipher_gnutls.c
+++ b/src/lib/emile/emile_cipher_gnutls.c
@@ -342,7 +342,6 @@ emile_cipher_server_listen(Emile_Cipher_Type t)
342 int ret; 342 int ret;
343 343
344 if (t != EMILE_SSLv23 && 344 if (t != EMILE_SSLv23 &&
345 t != EMILE_SSLv3 &&
346 t != EMILE_TLSv1) 345 t != EMILE_TLSv1)
347 return NULL; 346 return NULL;
348 347
@@ -382,12 +381,10 @@ emile_cipher_server_connect(Emile_Cipher_Type t)
382 { 381 {
383 case EMILE_SSLv23: 382 case EMILE_SSLv23:
384 break; 383 break;
385 case EMILE_SSLv3:
386 priority = "NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT:!VERS-TLS1.0:!VERS-TLS1.1:!VERS-TLS1.2";
387 break;
388 case EMILE_TLSv1: 384 case EMILE_TLSv1:
389 priority = "NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT:!VERS-SSL3.0"; 385 priority = "NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT:!VERS-SSL3.0";
390 break; 386 break;
387 case EMILE_SSLv3:
391 default: 388 default:
392 return NULL; 389 return NULL;
393 } 390 }