base85: encode_85() does not use the decode table
Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
75b7e16b6e
commit
b0bec518aa
2
base85.c
2
base85.c
@ -84,8 +84,6 @@ int decode_85(char *dst, const char *buffer, int len)
|
|||||||
|
|
||||||
void encode_85(char *buf, const unsigned char *data, int bytes)
|
void encode_85(char *buf, const unsigned char *data, int bytes)
|
||||||
{
|
{
|
||||||
prep_base85();
|
|
||||||
|
|
||||||
say("encode 85");
|
say("encode 85");
|
||||||
while (bytes) {
|
while (bytes) {
|
||||||
unsigned acc = 0;
|
unsigned acc = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user