File: encoding_non_b64_access_msg.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 (12 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/fko_encode.c b/lib/fko_encode.c
index c92d421..7dbb953 100644
--- a/lib/fko_encode.c
+++ b/lib/fko_encode.c
@@ -144,6 +144,7 @@ fko_encode_spa_data(fko_ctx_t ctx)
         free(tbuf);
         return(res);
     }
+    tbuf[strlen(tbuf)-2] = 0x2a;
 
     /* If a nat_access message was given, add it to the SPA
      * message.