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

Check for OpenSSL development files #19

Closed
BarryBo opened this issue Jan 24, 2017 · 1 comment
Closed

Check for OpenSSL development files #19

BarryBo opened this issue Jan 24, 2017 · 1 comment
Assignees

Comments

@BarryBo
Copy link

BarryBo commented Jan 24, 2017

My Ubuntu comes with OpenSSL executables but not the libssl-dev package.

FStar/ucontrib/corecrypto depends on openssl.h and its build errors out if it isn't present, with warnings about many things. Here are the first two:

793 lines of outputopenssl_stub.c: In function ‘ocaml_openssl_init’:
openssl_stub.c:93:3: warning: implicit declaration of function ‘OPENSSL_config’ [-Wimplicit-function-declaration]
OPENSSL_config("CoreCrypto");
^
openssl_stub.c: In function ‘ocaml_rsa_gen_key’:
openssl_stub.c:668:23: warning: passing argument 2 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types]
RSA_get0_key(rsa, &b_n, &b_e, &b_d);
^

@s-zanella
Copy link
Contributor

FStar/ucontrib/corecrypto is deprecated in favor of https://github.com/project-everest/MLCrypto, which has an OpenSSL submodule. Hopefully we'll deprecate this soon too and remove all dependencies on OpenSSL.

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

No branches or pull requests

3 participants