1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-26 01:52:45 +02:00

* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.

* misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by
Tommi Vainikainen.
This commit is contained in:
David Shaw 2003-11-21 00:55:41 +00:00
parent 38722f4caa
commit f909811a73
3 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2003-11-20 David Shaw <dshaw@jabberwocky.com>
* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3)
encodings.
* misc.c (compress_algo_to_string): Translate "Uncompressed".
Requested by Tommi Vainikainen.
2003-11-15 David Shaw <dshaw@jabberwocky.com>
* compress-bz2.c (init_compress): Compression level 0 is not

View File

@ -547,7 +547,7 @@ compress_algo_to_string(int algo)
switch(algo)
{
case COMPRESS_ALGO_NONE:
s="Uncompressed";
s=_("Uncompressed");
break;
case COMPRESS_ALGO_ZIP:

View File

@ -175,6 +175,16 @@ do_encode_md( MD_HANDLE md, int algo, size_t len, unsigned nbits,
: mpi_alloc( (nframe+BYTES_PER_MPI_LIMB-1) / BYTES_PER_MPI_LIMB );
mpi_set_buffer( a, frame, nframe, 0 );
m_free(frame);
/* Note that PGP before version 2.3 encoded the MD as:
*
* 0 1 MD(16 bytes) 0 PAD(n bytes) 1
*
* The MD is always 16 bytes here because it's always MD5. We do
* not support pre-v2.3 signatures, but I'm including this comment
* so the information is easily found in the future.
*/
return a;
}