Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Nov 12, 2024
1 parent 214c521 commit b5df39f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions utils/s2n_random.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,8 @@ int s2n_openssl_compat_init(ENGINE *unused)
*
* Custom random is only used when linked with OpenSSL. However, it should be
* possible to compile the ENGINE related code with other libcrypto (eg.
* BoringSSL, LibreSSL). This is not the case with AWS-LC, due to signature
* mismatch. The `RAND_METHOD` signature in AWS-LC [1] is different from
* OpenSSL [2] and causes a compilation error.
* BoringSSL, LibreSSL). This is not the case with AWS-LC which has a different
* `RAND_METHOD` signature and results in a compilation error.
*
* [1] AWS-LC: https://github.com/aws/aws-lc/blob/main/include/openssl/rand.h#L124
* [2] OpenSSL: https://github.com/openssl/openssl/blob/master/include/openssl/rand.h#L42
Expand Down

0 comments on commit b5df39f

Please sign in to comment.