From 73758cd6b017faf6682584ebacb6f4fabc6956f2 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 10 Nov 2009 09:30:59 -0700 Subject: [PATCH] Spelling, style --- framework/Crypt/lib/Horde/Crypt/Smime.php | 4 +++- framework/Mime/lib/Horde/Mime/Part.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/Crypt/lib/Horde/Crypt/Smime.php b/framework/Crypt/lib/Horde/Crypt/Smime.php index 6f1097a22..bd82f5e47 100644 --- a/framework/Crypt/lib/Horde/Crypt/Smime.php +++ b/framework/Crypt/lib/Horde/Crypt/Smime.php @@ -441,7 +441,9 @@ class Horde_Crypt_Smime extends Horde_Crypt file_put_contents($input, $text); unset($text); - $privkey = (is_null($params['passphrase'])) ? $params['privkey'] : array($params['privkey'], $params['passphrase']); + $privkey = is_null($params['passphrase']) + ? $params['privkey'] + : array($params['privkey'], $params['passphrase']); if (openssl_pkcs7_decrypt($input, $output, $params['pubkey'], $privkey)) { return file_get_contents($output); } diff --git a/framework/Mime/lib/Horde/Mime/Part.php b/framework/Mime/lib/Horde/Mime/Part.php index c9d467878..682a33d81 100644 --- a/framework/Mime/lib/Horde/Mime/Part.php +++ b/framework/Mime/lib/Horde/Mime/Part.php @@ -1928,7 +1928,7 @@ class Horde_Mime_Part * * @param string $text The text to search. * - * @return array 1st element: Header position, 2nd element: Lenght of + * @return array 1st element: Header position, 2nd element: Length of * trailing EOL. */ static protected function _findHeader($text) -- 2.11.0