diff options
author | Remy <relst@relst.nl> | 2015-03-30 12:26:17 +0200 |
---|---|---|
committer | Remy <relst@relst.nl> | 2015-03-30 12:26:17 +0200 |
commit | b470f3e3cb6fd341da0b4eed465d6165d98cd441 (patch) | |
tree | 5123b500c9d774cd2e2d6d961359343346d7a4f3 /functions/verify_certifitcate.php | |
parent | faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5 (diff) | |
download | ssl-decoder-b470f3e3cb6fd341da0b4eed465d6165d98cd441.zip ssl-decoder-b470f3e3cb6fd341da0b4eed465d6165d98cd441.tar.gz ssl-decoder-b470f3e3cb6fd341da0b4eed465d6165d98cd441.tar.bz2 |
Add json endpoint
Diffstat (limited to 'functions/verify_certifitcate.php')
-rw-r--r-- | functions/verify_certifitcate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/verify_certifitcate.php b/functions/verify_certifitcate.php index 4e80ea4..86312a1 100644 --- a/functions/verify_certifitcate.php +++ b/functions/verify_certifitcate.php @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. -function verify_certificate_hostname($raw_cert, $host, $port) { +function verify_certificate_hostname($raw_cert, $host) { $cert_data = openssl_x509_parse($raw_cert); if ($cert_data['subject']['CN']) { $cert_host_names = []; |