Bidirectional implementation finished, more complex tests for bidirectional, cleanup...
authorAndreas Ebner <pansy007@googlemail.com>
Sun, 18 Aug 2019 11:46:05 +0000 (13:46 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 7 Oct 2019 10:17:29 +0000 (12:17 +0200)
commit6ad2e1f1dce42e5c998425e80f48d512638e278e
treebb8e2d7d10aca751dc5711746c802c061846aff0
parent7b749c91759eb75eda5cac1e02954cc82ef27db3
Bidirectional implementation finished, more complex tests for bidirectional, cleanup fix, todos done:

- fixed cleanup to not cause errors and uncommented it again
- added new tests for AND, linked roles and fw/bw
- fixed an older bug to make test ..own_and2.sh work
- replaced bidirectional matching of bw with unresolved_attribute.. (because it contains all the subject attributes/roles)
- introduced extra function for bidirectional match handling (is the same for bw and fw and pretty long)
- commandline: if not specified to use bw or fw search -> assume it's bidirectional
- moved the bidirecitonal matching list to vrh and removed it from being global
- valgrind on service (one error remaining, to be solved in future commits)
- use the vrh->dsq_head/tail for the cleanup stuff
src/credential/gnunet-credential.c
src/credential/gnunet-service-credential.c
src/credential/test_credential_bi.sh [deleted file]
src/credential/test_credential_bi_and.sh [new file with mode: 0755]
src/credential/test_credential_bi_and2.sh [new file with mode: 0755]
src/credential/test_credential_bi_bw.sh [new file with mode: 0755]
src/credential/test_credential_bi_bw_link.sh [new file with mode: 0755]
src/credential/test_credential_bi_bw_link2.sh [new file with mode: 0755]
src/credential/test_credential_bi_fw.sh [new file with mode: 0755]
src/credential/test_credential_own_and2.sh [new file with mode: 0755]