From: Michael M Slusarz Date: Tue, 10 Nov 2009 16:30:59 +0000 (-0700) Subject: Spelling, style X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=73758cd6b017faf6682584ebacb6f4fabc6956f2;p=horde.git Spelling, style --- 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)