summaryrefslogtreecommitdiffstats
path: root/functions/parse_certificate.php
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-02-21 07:22:45 +0100
committerRemy <relst@relst.nl>2015-02-21 07:22:45 +0100
commitf66fd749250f8b60ec78fcdd2f50026019836069 (patch)
tree6486487c928c2c8bb44764100afc48da06353c6a /functions/parse_certificate.php
parentb8dea0fbd433618bf026e36d5e7fb29492508017 (diff)
downloadssl-decoder-f66fd749250f8b60ec78fcdd2f50026019836069.zip
ssl-decoder-f66fd749250f8b60ec78fcdd2f50026019836069.tar.gz
ssl-decoder-f66fd749250f8b60ec78fcdd2f50026019836069.tar.bz2
license should not me html comment
Diffstat (limited to 'functions/parse_certificate.php')
-rw-r--r--functions/parse_certificate.php26
1 files changed, 12 insertions, 14 deletions
diff --git a/functions/parse_certificate.php b/functions/parse_certificate.php
index 1bdfedd..ddd4dfa 100644
--- a/functions/parse_certificate.php
+++ b/functions/parse_certificate.php
@@ -1,20 +1,18 @@
-<!--
- Copyright (C) 2015 Remy van Elst
+<?php
+// Copyright (C) 2015 Remy van Elst
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
--->
-<?php
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
function cert_parse($raw_cert_data, $raw_next_cert_data=null, $csr=false, $host=null, $port=null, $is_issuer=false) {