Newline before crc24 on enarmor

This commit is contained in:
Stephen Paul Weber 2011-04-28 08:07:06 -05:00
parent 1f04075ef5
commit 6b8445737e

View File

@ -29,7 +29,7 @@ class OpenPGP {
$text .= $key . ': ' . (string)$value . "\n";
}
$text .= "\n" . base64_encode($data);
$text .= '=' . substr(pack('N', self::crc24($data)), 1) . "\n";
$text .= "\n".'=' . substr(pack('N', self::crc24($data)), 1) . "\n";
$text .= self::footer($marker) . "\n";
return $text;
}