Fix function name typo

This commit is contained in:
jim-p 2018-04-02 15:42:40 -04:00
parent 00e54150ea
commit 37e1aecf83
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -1220,7 +1220,7 @@ foreach ($a_cert as $i => $cert):
$certextinfo .= htmlspecialchars(implode(', ', $purpose['eku']));
$certextinfo .= '<br/>';
}
if (cert_get_oscpstaple($cert['crt'])) {
if (cert_get_ocspstaple($cert['crt'])) {
$certextinfo .= '<b>' . gettext("OCSP: ") . '</b> ';
$certextinfo .= gettext("Must Staple");
}