forked from varnish/hitch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't rely on the OpenSSL version to detect ALPN
A vendor may back-port the feature to an older release, so we might as well look for the presence of one of its basic functions. This includes NPN since the code uses them in tandem, and keeps the ability to exclude NPN with the OPENSSL_NO_NEXTPROTONEG macro since OpenSSL itself relies on that internally. Except that currently Hitch won't build when OPENSSL_NO_NEXTPROTONEG is defined, which was already the case before this change.
- Loading branch information
Showing
3 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters