Clarify the advice about reporting errors in test hooks
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/programs/ssl/ssl_test_lib.h b/programs/ssl/ssl_test_lib.h
index dd6ed0c..8f37d63 100644
--- a/programs/ssl/ssl_test_lib.h
+++ b/programs/ssl/ssl_test_lib.h
@@ -265,8 +265,9 @@
/** 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.