Commit graph

7 commits

Author SHA1 Message Date
Daniel Salzman
b3cdb3431a tests: relicense to GPL-2.0-or-later 2025-03-24 09:53:50 +01:00
Daniel Salzman
797d267fbe utils: replace cert_get_pin() with gnutls_x509_crt_get_key_id() 2023-03-02 21:01:33 +01:00
Daniel Kahn Gillmor
846bb431d2 use https://www.gnu.org instead of http://www.gnu.org
www.gnu.org has offered https for years now.
2018-08-29 09:45:57 -04:00
Petr Špaček
339f7a5fb9 tests: replace ok(ret == KNOT_E???) with is_int(KNOT_E???, ret) to ease debugging
Throwing away unexpected retun codes makes debugging harder.
TAP function is_int can nicely log mismatches which makes debugging easier.

To make our lives easier I replaced all ok(ret == KNOT_E???) checks with
is_int() calls. It was done using following command
+ manual review and reverts in libknot/test_control.c.

$ find -name '*.c' | xargs sed -i 's#ok(ret == \(KNOT_E[0-9A-Z_]\+\),#is_int(\1, ret,#'
2017-01-30 16:47:34 +01:00
Daniel Salzman
1d058c4196 hat-trie: remove hattrie_build_index as qp-trie doesn't need it 2016-10-17 09:28:50 +02:00
Jan Vcelak
48e27e2130 utils: add cert_get_pin() function 2016-08-03 13:16:42 +02:00
Daniel Salzman
1cca7f9e5d utils: add general lookup container 2016-04-13 14:10:58 +02:00