Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL depenency management. #10

Closed
ben-crowhurst opened this issue Jun 30, 2015 · 2 comments
Closed

OpenSSL depenency management. #10

ben-crowhurst opened this issue Jun 30, 2015 · 2 comments
Assignees

Comments

@ben-crowhurst
Copy link
Member

Currently we don't pull down OpenSSL when cloning the repository. And we don't force the dependency to build if we fail to locate a preinstalled installation.

How should we manage this dependency?

  1. User instructions?
  2. CMake ExternalProject_Add?
  3. Other?
@ben-crowhurst
Copy link
Member Author

Latest version of OpenSSL causes issues with ASIO; See here for details.

*) config has been changed so that by default OPENSSL_NO_DEPRECATED is used.
     Access to deprecated functions can be re-enabled by running config with
     "enable-deprecated". In addition applications wishing to use deprecated
     functions must define OPENSSL_USE_DEPRECATED. Note that this new behaviour
     will, by default, disable some transitive includes that previously existed
     in the header files (e.g. ec.h will no longer, by default, include bn.h)
     [Matt Caswell]

To build OpenSSL on Mac OS X you'll require the following configure command:

./Configure darwin64-x86_64-cc enable-ec_nistp_64_gcc_128

Elsewhere its:

./config

See here for build options.

@ben-crowhurst
Copy link
Member Author

We've decided not to automate the construction of OpenSSL. There are far too many options to best guess a reasonable subset for most business cases.

A git submodule representing the supported version of OpenSSL has been include within the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant