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

FIPS mode support #628

Merged
merged 12 commits into from
Jan 15, 2016
Merged

FIPS mode support #628

merged 12 commits into from
Jan 15, 2016

Conversation

michalwski
Copy link
Contributor

This PR allows to enable FIPS mode provided a custom version of Erlang/OTP is used. More information can be found in OpenSSL-and-FIPS.md file.

to compile MongooseIM with other openssl lib than default
OPENSSL_LIB and OPENSSL_INC env vars have to be set before compilation
f.e:
OPENSSL_LIB=/home/vagrant/openssl/lib OPENSSL_INC=/home/vagrant/openssl/include make rel

or (as separate commands)
export OPENSSL_LIB=/home/vagrant/openssl/lib
export OPENSSL_INC=/home/vagrant/openssl/include
make rel
@michalwski michalwski added this to the MongooseIM 1.7.0 milestone Jan 4, 2016
false ->
Config;
OpenSSL ->
io:format("using OpenSSL ~p~n", [OpenSSL]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This clause body is on a different level of abstraction, so might use exporting to a well named function.

erszcz added a commit that referenced this pull request Jan 15, 2016
@erszcz erszcz merged commit 4e16b5a into rel-1.7 Jan 15, 2016
@erszcz erszcz deleted the fips-1.7 branch January 15, 2016 15:17
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.

2 participants