From 76e9c64c3eeed6c10c1a70955a3fa0290dda719e Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 15 Feb 2021 10:59:13 +0100 Subject: [PATCH] Clarify the advice about reporting errors in test hooks Signed-off-by: Gilles Peskine --- programs/ssl/ssl_test_lib.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/ssl/ssl_test_lib.h b/programs/ssl/ssl_test_lib.h index dd6ed0c47d..8f37d6341a 100644 --- a/programs/ssl/ssl_test_lib.h +++ b/programs/ssl/ssl_test_lib.h @@ -265,8 +265,9 @@ void test_hooks_init( void ); /** Check if any test hooks detected a problem. * - * If a problem was detected, make sure to print an explanation to stderr, - * either at the time of detection or during the call to this function. + * \note When implementing a test hook, make sure to print a message + * to standard error either at the time the problem is detected + * or during the execution of this function. * * \return Nonzero if a problem was detected. * \c 0 if no problem was detected.