Skip to content

Commit

Permalink
Update crypto/fipsmodule/dh/check.c
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Chiang <samuelchungchiang@gmail.com>
  • Loading branch information
skmcgrail and samuel40791765 authored Jul 20, 2023
1 parent 86f8f27 commit 5f63363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/fipsmodule/dh/check.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int DH_check(const DH *dh, int *out_flags) {

*out_flags = 0;

/* Don't do any checks at all with an excessively large modulus */
// Don't do any checks at all with an excessively large modulus
if (BN_num_bits(dh->p) > OPENSSL_DH_CHECK_MAX_MODULUS_BITS) {
OPENSSL_PUT_ERROR(DH, DH_R_MODULUS_TOO_LARGE);
return 0;
Expand Down

0 comments on commit 5f63363

Please sign in to comment.