summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-03-31 15:21:49 +0200
committerRemy <relst@relst.nl>2015-03-31 15:21:49 +0200
commitf1db21a542632059c206a0e45cda272c21c7170b (patch)
tree20ab970d3dad75cf6579d81e143dfbc13229da49
parentaf4686327c3c83af8c50fb73a7ec088f1c699706 (diff)
downloadssl-decoder-f1db21a542632059c206a0e45cda272c21c7170b.zip
ssl-decoder-f1db21a542632059c206a0e45cda272c21c7170b.tar.gz
ssl-decoder-f1db21a542632059c206a0e45cda272c21c7170b.tar.bz2
fix multiple crls when one errors
-rw-r--r--functions/crl.php1
-rw-r--r--inc/index.html0
2 files changed, 0 insertions, 1 deletions
diff --git a/functions/crl.php b/functions/crl.php
index 9c062c5..34cc794 100644
--- a/functions/crl.php
+++ b/functions/crl.php
@@ -130,7 +130,6 @@ function crl_verify_json($raw_cert_data) {
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
if(curl_exec($ch) === false) {
$result[$crl_no]["error"] = 'Curl error: ' . htmlspecialchars(curl_error($ch));
- return $result;
}
curl_close($ch);
if(stat("/tmp/" . $random_blurp . "." . escapeshellcmd($key) . ".crl")['size'] < 10 ) {
diff --git a/inc/index.html b/inc/index.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/inc/index.html