Skip to content

Conversation

aduskett
Copy link
Contributor

LibreSSL is backwards compatible with OpenSSL 1.0, however it reports
it's version number as 2.0, which then causes build failures when using
OPENSSL_VERSION_NUMBER.

Adding a check for LIBRESSL_VERSION_NUMBER when checking if the OpenSSL
version number is < 0x10100000L fixes the issue.

LibreSSL is backwards compatible with OpenSSL 1.0, however it reports
it's version number as 2.0, which then causes build failures when using
OPENSSL_VERSION_NUMBER.

Adding a check for LIBRESSL_VERSION_NUMBER when checking if the openssl
version number is < 0x10100000L fixes the issue.
@ras0219-msft
Copy link
Contributor

LGTM, thanks for the PR!

@ras0219-msft ras0219-msft merged commit 775feb0 into microsoft:master Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants