Skip to content

Commit

Permalink
fix: address PR comments
Browse files Browse the repository at this point in the history
* Modify comments
  • Loading branch information
Boquan Fang committed Oct 25, 2024
1 parent d996a81 commit b40aa9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/s2n_override_openssl_random_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ int main(int argc, char **argv)
/* Set s2n_random to use a new fixed DRBG to test that other known answer tests with s2n_random and OpenSSL are deterministic */
EXPECT_OK(s2n_stuffer_alloc_from_hex(&test_entropy, reference_entropy_hex));
struct s2n_drbg drbg;
/* s2n_rand_set_callbacks overrode the default callbacks without cleaning up the default callbacks.
* Find existing dev_urandom fd and close it, so that it wouldn't leak file descriptor. */
/* s2n_rand_set_callbacks override the default callbacks without cleaning up the default callbacks.
* Find existing dev_urandom fd and close it, so that it wouldn't leak the file descriptor. */
struct s2n_rand_device *dev_urandom = NULL;
EXPECT_OK(s2n_rand_get_urandom_for_test(&dev_urandom));
EXPECT_NOT_NULL(dev_urandom);
Expand Down

0 comments on commit b40aa9e

Please sign in to comment.