25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Add an erl_opt so that rsa can be used when the otp version is enough

This commit is contained in:
Konstantinos Kallas 2017-07-26 09:52:44 +03:00
parent 92e38190aa
commit 1a506da932

View File

@ -93,6 +93,8 @@
{if_have_fun, {crypto, strong_rand_bytes, 1}, {d, 'STRONG_RAND_BYTES'}},
{if_have_fun, {gb_sets, iterator_from, 2}, {d, 'GB_SETS_ITERATOR_FROM'}},
{if_have_fun, {public_key, short_name_hash, 1}, {d, 'SHORT_NAME_HASH'}},
%% {if_have_fun, {public_key, generate_key, 1}, {d, 'GENERATE_RSA_KEY'}},
{if_version_above, "19", {d, 'GENERATE_RSA_KEY'}},
{if_var_true, hipe, native},
{src_dirs, [asn1, src,
{if_var_true, tools, tools},