diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-02-21 20:56:47 +0100 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-02-21 20:56:47 +0100 |
commit | 05040a491361a25bfed43a0b978b092da008129f (patch) | |
tree | 5c1936f8bb3426902d6b27615a178c68bc04cb2e /src/hello/hello-ng.c | |
parent | 9e1f3ef55b86baa796b8bc650dbecdb8d17be9cf (diff) | |
download | gnunet-05040a491361a25bfed43a0b978b092da008129f.tar.gz gnunet-05040a491361a25bfed43a0b978b092da008129f.zip |
HELLO: Add test for NG API; fix extraction more
Diffstat (limited to 'src/hello/hello-ng.c')
-rw-r--r-- | src/hello/hello-ng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello/hello-ng.c b/src/hello/hello-ng.c index 27fd50763..85b304e18 100644 --- a/src/hello/hello-ng.c +++ b/src/hello/hello-ng.c | |||
@@ -123,7 +123,7 @@ GNUNET_HELLO_extract_address (const void *raw, | |||
123 | struct SignedAddress sa; | 123 | struct SignedAddress sa; |
124 | struct GNUNET_CRYPTO_EddsaSignature *sig; | 124 | struct GNUNET_CRYPTO_EddsaSignature *sig; |
125 | 125 | ||
126 | if ('\0' != raws[raw_size]) | 126 | if ('\0' != raws[raw_size-1]) |
127 | { | 127 | { |
128 | GNUNET_break_op (0); | 128 | GNUNET_break_op (0); |
129 | return NULL; | 129 | return NULL; |