Skip to content

Commit

Permalink
oauth2_token: fix deprecated function call
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Rossi <leonardo.rossi@studenti.unipr.it>
  • Loading branch information
Leonardo Rossi authored and hachreak committed Oct 11, 2016
1 parent 218c963 commit 13f20d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oauth2_token.erl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ rand_bytes(N) ->
?MODULE:strong_rand_bytes_proxy(N)
catch
throw:low_entropy ->
crypto:rand_bytes(N)
crypto:strong_rand_bytes(N)
end.

%% @equiv crypto:strong_rand_bytes(N)
Expand Down

0 comments on commit 13f20d8

Please sign in to comment.