challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit e82650d8c692492257ab17417c5d3816e49d3870
parent 9dbfd462d51e0369d0c1ff09675eb411c8fe9280
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 13 Jul 2026 21:04:30 +0200

fix comment to match implementation

Diffstat:
Msrc/challengerdb/test_challenger_db.c | 8++------
Msrc/include/challenger-database/challenge_set_address_and_pin.h | 6++++--
2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/challengerdb/test_challenger_db.c b/src/challengerdb/test_challenger_db.c @@ -14,8 +14,8 @@ Challenger; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ /** - * @file sync/test_sync_db.c - * @brief testcase for sync postgres db plugin + * @file sync/test_challenger_db.c + * @brief testcase for challenger postgres db plugin * @author Christian Grothoff */ #include "platform.h" @@ -36,10 +36,6 @@ goto drop; \ } while (0) -#define RND_BLK(ptr) \ - GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, ptr, sizeof (* \ - ptr)) - /** * Global return value for the test. Initially -1, set to 0 upon * completion. Other values indicate some kind of error. diff --git a/src/include/challenger-database/challenge_set_address_and_pin.h b/src/include/challenger-database/challenge_set_address_and_pin.h @@ -46,8 +46,10 @@ * @param[out] address_refused set to true if the address was refused (address change attempts exhausted) * @param[out] solved set to true if the challenge is already solved * @return transaction status: - * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the address was changed - * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not permit further changes to the address (attempts exhausted) + * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the validation @a nonce exists + * (inspect @a address_refused / @a solved / @a pin_transmit for the actual + * outcome) + * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the validation @a nonce is unknown * #GNUNET_DB_STATUS_HARD_ERROR on failure */ enum GNUNET_DB_QueryStatus