Skip to content

Commit

Permalink
Fix configure hashlib APIs check.
Browse files Browse the repository at this point in the history
Don't test for hash functions that are entirely optional for a TLS
implementation.  This configure check should be reworked anyways, even
md5 and sha1 could possibly not be present (FIPS?).
  • Loading branch information
gpshead committed Mar 6, 2024
1 parent 1ad4f96 commit 0e5e1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7104,8 +7104,8 @@ WITH_SAVE_ENV([
], [
OBJ_nid2sn(NID_md5);
OBJ_nid2sn(NID_sha1);
OBJ_nid2sn(NID_sha3_512);
OBJ_nid2sn(NID_blake2b512);
OBJ_nid2sn(NID_sha256);
OBJ_nid2sn(NID_sha512);
EVP_PBE_scrypt(NULL, 0, NULL, 0, 2, 8, 1, 0, NULL, 0);
])], [ac_cv_working_openssl_hashlib=yes], [ac_cv_working_openssl_hashlib=no])
])
Expand Down

0 comments on commit 0e5e1d5

Please sign in to comment.