Fix copypasta in function documentation

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2023-07-20 17:54:19 +02:00
parent 935255cb3c
commit c723e86e56

View file

@ -19,12 +19,12 @@
* \param expected_size Expected size in bytes. * \param expected_size Expected size in bytes.
* If 0, the file must not exist. * If 0, the file must not exist.
* *
* \retval 0 Either \p expected_size is nonzero and * \retval 1 Either \p expected_size is nonzero and
* the entropy seed file exists and has exactly this size, * the entropy seed file exists and has exactly this size,
* or \p expected_size is zero and the file does not exist. * or \p expected_size is zero and the file does not exist.
* \retval 1 Either \p expected_size is nonzero and * \retval 0 Either \p expected_size is nonzero but
* the entropy seed file exists, * the entropy seed file does not exist or has a different size,
* or \p expected_size is zero and the file exists. * or \p expected_size is zero but the file exists.
* In this case, the test case is marked as failed. * In this case, the test case is marked as failed.
* *
* \note We enforce that the seed is in a specific ITS file. * \note We enforce that the seed is in a specific ITS file.