Packages

Client implementing the Yubico Validation Protocol Version 2.0.

Current section

Files

Jump to
yubico rebar.config.script
Raw

rebar.config.script

case erlang:system_info(otp_release) =< "R15B01" andalso not (erlang:system_info(otp_release) >= "17") of
true ->
HashDefine = [{d,old_hash}],
case lists:keysearch(erl_opts, 1, CONFIG) of
{value, {erl_opts, Opts}} ->
lists:keyreplace(erl_opts,1,CONFIG,{erl_opts,Opts++HashDefine});
false ->
CONFIG ++ [{erl_opts, HashDefine}]
end;
false -> CONFIG
end.