summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-10-17 21:06:10 +0200
committerRemy <relst@relst.nl>2015-10-17 21:06:10 +0200
commit3e0a1dfae5ec9211cecc0f532de6cea2be9256fd (patch)
treebe43feb7c9b59845e656535fedc79cac0c218de9
parent788725f53e4c2cbf6f7486bcfc188722493d0883 (diff)
downloadssl-decoder-3e0a1dfae5ec9211cecc0f532de6cea2be9256fd.zip
ssl-decoder-3e0a1dfae5ec9211cecc0f532de6cea2be9256fd.tar.gz
ssl-decoder-3e0a1dfae5ec9211cecc0f532de6cea2be9256fd.tar.bz2
fix cipherusites
-rw-r--r--functions/connection.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/functions/connection.php b/functions/connection.php
index a30150d..b305495 100644
--- a/functions/connection.php
+++ b/functions/connection.php
@@ -720,7 +720,6 @@ function ssl_conn_metadata_json($host, $ip, $port, $read_stream, $chain_data=nul
}
// ciphersuites
- if ($_GET['ciphersuites'] == 1) {
$ciphersuites_to_test = array('ECDHE-RSA-AES256-GCM-SHA384',
'ECDHE-ECDSA-AES256-GCM-SHA384',
'ECDHE-RSA-AES256-SHA384',
@@ -847,10 +846,6 @@ function ssl_conn_metadata_json($host, $ip, $port, $read_stream, $chain_data=nul
}
}
- } else {
- $result["used_ciphersuite"]["name"] = $context_meta['cipher_name'];
- $result["used_ciphersuite"]["bits"] = $context_meta['cipher_bits'];
- }
// tls_fallback_scsv
$fallback = tls_fallback_scsv($host, $ip, $port);
if ($fallback['protocol_count'] == 1) {