diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-17 11:50:00 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-17 11:50:00 +0000 |
commit | 00f5b95a1c92114ff11b2826315d5fe910019e5c (patch) | |
tree | 5f7b92edec81c88ff446bcd129b2f4cd3c5e5559 /sendlib.c | |
parent | 152efdb28c2e871ab87781e519091c86201cd48d (diff) |
Fix the base64 encoder. The current code would produce slightly
unpredictible output which leads to bad signatures.
Diffstat (limited to 'sendlib.c')
-rw-r--r-- | sendlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -302,7 +302,7 @@ static void encode_base64 (FILE * fin, FILE *fout, int istext) { int ch, ch1 = EOF; - b64_num = 0; + b64_num = b64_linelen = 0; while((ch = fgetc(fin)) != EOF) { |