File: encoding_append_b64_modified_byte_eq.patch

package info (click to toggle)
fwknop 2.6.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,420 kB
  • sloc: ansic: 30,106; perl: 20,346; sh: 5,560; makefile: 955; xml: 937; python: 797; java: 444; objc: 292; erlang: 128
file content (13 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/fko_encode.c b/lib/fko_encode.c
index c92d421..5775943 100644
--- a/lib/fko_encode.c
+++ b/lib/fko_encode.c
@@ -59,6 +59,8 @@ append_b64(char* tbuf, char *str)
 
     free(bs);
 
+    tbuf[1] = '=';
+
     return(FKO_SUCCESS);
 }