summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions/connection.php6
-rw-r--r--json.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/functions/connection.php b/functions/connection.php
index a1e718e..e9542f9 100644
--- a/functions/connection.php
+++ b/functions/connection.php
@@ -174,7 +174,7 @@ function ssl_conn_metadata($data) {
echo "</i><br>";
}
if (isset($value["error"])) {
- echo "<span class='text-danger glyphicon glyphicon-remove'></span> - <span class='text-danger'>Error: Issuer does not match the next certificate CN. Chain order is probaby wrong.</span><br><br>";
+ echo "<span class='text-danger glyphicon glyphicon-remove'></span> - <span class='text-danger'>Error: Issuer does not match the next certificate CN. Chain order is probably wrong.</span><br><br>";
}
}
echo "<br>";
@@ -435,8 +435,8 @@ function ssl_conn_metadata_json($host, $port, $read_stream, $chain_data=null) {
continue;
} else {
if ($i != $chain_length - 1) {
- $result["chain"][$i]["error"] = "Issuer does not match the next certificate CN. Chain order is probaby wrong.";
- $result["warning"][] = "Issuer does not match the next certificate CN. Chain order is probaby wrong.";
+ $result["chain"][$i]["error"] = "Issuer does not match the next certificate CN. Chain order is probably wrong.";
+ $result["warning"][] = "Issuer does not match the next certificate CN. Chain order is probably wrong.";
}
}
}
diff --git a/json.php b/json.php
index 0b9fbca..1ddc929 100644
--- a/json.php
+++ b/json.php
@@ -62,7 +62,7 @@ if ($_GET["type"] == "pretty") {
</script>
<noscript><p><img src="//hosted-oswa.org/piwik/piwik.php?idsite=34" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
- <?
+ <?php
} else {
header('Content-Type: application/json');
echo json_encode($data);