summaryrefslogtreecommitdiffstats
path: root/functions/verify_certifitcate.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions/verify_certifitcate.php')
-rw-r--r--functions/verify_certifitcate.php2
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 = [];