Skip to content

Commit

Permalink
Clarify the advice about reporting errors in test hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Gilles Peskine <[email protected]>
  • Loading branch information
gilles-peskine-arm committed Feb 22, 2021
1 parent 414e717 commit 76e9c64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions programs/ssl/ssl_test_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 76e9c64

Please sign in to comment.