summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-03-28 08:59:04 +0100
committerRemy <relst@relst.nl>2015-03-28 08:59:04 +0100
commitfaa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5 (patch)
tree820b2a5da07726ec176961d4b83b89d5bd6821fb /index.php
parentb782322a10c5ca52e21bb2017dc8af7067220952 (diff)
downloadssl-decoder-faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5.zip
ssl-decoder-faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5.tar.gz
ssl-decoder-faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5.tar.bz2
add tls_fallback_scsv check
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 2137519..bdab577 100644
--- a/index.php
+++ b/index.php
@@ -62,7 +62,7 @@ foreach (glob("functions/*.php") as $filename) {
"verify_peer_name" => false,
"allow_self_signed" => true,
"sni_enabled" => true)));
- $read_stream = stream_socket_client("ssl://$host:$port", $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $stream);
+ $read_stream = stream_socket_client("ssl://$host:$port", $errno, $errstr, 2, STREAM_CLIENT_CONNECT, $stream);
if ( $read_stream !== false ) {
$context = stream_context_get_params($read_stream);
$chain_data = $context["options"]["ssl"]["peer_certificate_chain"];
@@ -204,7 +204,7 @@ foreach (glob("functions/*.php") as $filename) {
"verify_peer_name" => false,
"allow_self_signed" => true,
"sni_enabled" => true)));
- $read_stream = stream_socket_client("ssl://$host:$port", $errno, $errstr, 5,
+ $read_stream = stream_socket_client("ssl://$host:$port", $errno, $errstr, 2,
STREAM_CLIENT_CONNECT, $stream);
if ( $read_stream === false ) {
@@ -314,7 +314,7 @@ foreach (glob("functions/*.php") as $filename) {
?>
<div class="footer">
<div class="col-md-6 col-md-offset-1 container">
- <p class="text-muted">By <a href="https://raymii.org/s/software/OpenSSL_Decoder.html">Remy van Elst</a>. License: GNU AGPLv3. <a href="https://github.com/RaymiiOrg/ssl-decoder">Source code</a>. <strong><a href="https://cipherli.st/">Strong SSL Ciphers & Config settings @ Cipherli.st</a></strong>. Version: 1.9</p>
+ <p class="text-muted">By <a href="https://raymii.org/s/software/OpenSSL_Decoder.html">Remy van Elst</a>. License: GNU AGPLv3. <a href="https://github.com/RaymiiOrg/ssl-decoder">Source code</a>. <strong><a href="https://cipherli.st/">Strong SSL Ciphers & Config settings @ Cipherli.st</a></strong>. Version: 2.0</p>
</div>
</div>
</div>