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

Fixed macro ifdefs to enable building without openssl. #21

Merged

Conversation

christianpaquin
Copy link

The OQS fork was not building when compiling the project without openssl:
./configure --enable-pq-kex --enable-hybrid-kex --without-openssl --prefix=<path_to_openssh> --sysconfdir=<path_to_openssh> --with-liboqs-dir=<path_to_oqs>

I added some ifdef macros in the OQS-related hybrid code that also needed openssl.

@christianpaquin christianpaquin added the bug Something isn't working label Jan 31, 2019
@dstebila dstebila merged commit 131e7b4 into open-quantum-safe:OQS-master Feb 1, 2019
@dstebila
Copy link
Member

dstebila commented Feb 1, 2019

oqs_openssh.sh integration tests pass on macOS. (Admittedly, they don't exercise the problem that prompted this, but at least the change didn't break the normal case. Do you think we should add the command-line you listed above to the integration tests to ensure no regressions?)

@christianpaquin
Copy link
Author

Perhaps; I tumbled on this issue by trying to build the project without openssl because my machine didn't have an old-enough version of openssl. I'm not a 100% sure of the implications of building without openssl and if this is even recommended in a real deployment (vs. dev environment). I'll open the issue to investigate if this should be added to our integration tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants