Skip to content

Verify OpenSSL even if custom location is requested - #2436

Closed
nnposter wants to merge 1 commit into
nmap:masterfrom
nnposter:configure-openssl-ec
Closed

nnposter wants to merge 1 commit into
nmap:masterfrom
nnposter:configure-openssl-ec

Conversation

@nnposter

Copy link
Copy Markdown

The patch is intended to fix #2420. Specifically, it implements these changes:

  • Moves existing AC_SEARCH_LIBS(dlopen, dl) forward, so that libdl is available for linking when OpenSSL tests are carried out.
  • Performs existing OpenSSL header and library tests even if custom library location is specified via --with-openssl=somedir.
  • Prints appropriate error messages if these tests fail, differentiating between --with-openssl=somedir and --with-openssl=yes

As a result:

Please review and comment. Note that the logical patch is rather tiny. Most of the delta is caused by different indentation of existing code.

If no issues are raised, this PR will be committed on or after March 1st.

@nnposter

nnposter commented Mar 3, 2022

Copy link
Copy Markdown
Author

The fix has been committed as r38364.

@nmap-bot nmap-bot closed this in 5afd9c6 Mar 3, 2022
@nmap nmap deleted a comment Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HAVE_OPENSSL_EC not set when building with local OpenSSL

1 participant