diff options
author | Michael Tänzer <neo@nhng.de> | 2011-10-21 22:00:44 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2011-10-21 22:00:44 +0200 |
commit | 82c2ea4c8a8338ced01e22989dffc1fffb13e3f9 (patch) | |
tree | 0feabbd90d8f518ad4c0164cb5306cb92a0e67c8 /includes/lib/check_weak_key.php | |
parent | 7b95895e259908c2ef600e021258b08543fd0fce (diff) | |
download | cacert-devel-82c2ea4c8a8338ced01e22989dffc1fffb13e3f9.tar.gz cacert-devel-82c2ea4c8a8338ced01e22989dffc1fffb13e3f9.tar.xz cacert-devel-82c2ea4c8a8338ced01e22989dffc1fffb13e3f9.zip |
bug 978: fix typos/copy & paste errors that were also present in the #918bug-978
version
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes/lib/check_weak_key.php')
-rw-r--r-- | includes/lib/check_weak_key.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/lib/check_weak_key.php b/includes/lib/check_weak_key.php index 241d4f3..ca13ba2 100644 --- a/includes/lib/check_weak_key.php +++ b/includes/lib/check_weak_key.php @@ -65,7 +65,7 @@ function checkWeakKeyX509($cert, $encoding = "PEM") $status = runCommand("openssl x509 -inform $encoding -text -noout", $cert, $certText); if ($status === true) { - return failWithId("checkWeakKeyCSR(): Failed to start OpenSSL"); + return failWithId("checkWeakKeyX509(): Failed to start OpenSSL"); } if ($status !== 0 || $certText === "") { @@ -92,7 +92,7 @@ function checkWeakKeySPKAC($spkac, $spkacname = "SPKAC") $spkacname = escapeshellarg($spkacname); $status = runCommand("openssl spkac -spkac $spkacname", $spkac, $spkacText); if ($status === true) { - return failWithId("checkWeakKeyCSR(): Failed to start OpenSSL"); + return failWithId("checkWeakKeySPKAC(): Failed to start OpenSSL"); } if ($status !== 0 || $spkacText === "") { |