diff --git a/src/etc/inc/certs.inc b/src/etc/inc/certs.inc index 5d6a23e31b..68d93f3d88 100644 --- a/src/etc/inc/certs.inc +++ b/src/etc/inc/certs.inc @@ -660,7 +660,7 @@ function cert_get_purpose($str_crt, $decode = true) { return $purpose; } -function cert_get_oscpstaple($str_crt, $decode = true) { +function cert_get_ocspstaple($str_crt, $decode = true) { if ($decode) { $str_crt = base64_decode($str_crt); } diff --git a/src/usr/local/www/system_certmanager.php b/src/usr/local/www/system_certmanager.php index b396ec7796..c8f2c24770 100644 --- a/src/usr/local/www/system_certmanager.php +++ b/src/usr/local/www/system_certmanager.php @@ -1220,7 +1220,7 @@ foreach ($a_cert as $i => $cert): $certextinfo .= htmlspecialchars(implode(', ', $purpose['eku'])); $certextinfo .= '
'; } - if (cert_get_oscpstaple($cert['crt'])) { + if (cert_get_ocspstaple($cert['crt'])) { $certextinfo .= '' . gettext("OCSP: ") . ' '; $certextinfo .= gettext("Must Staple"); }