File riak_control-2.1.7-crypto.patch of Package riak_control

diff -Ndurp riak_control-2.1.7/src/riak_control_security.erl riak_control-2.1.7-crypto/src/riak_control_security.erl
--- riak_control-2.1.7/src/riak_control_security.erl	2017-03-15 22:52:30.000000000 +0200
+++ riak_control-2.1.7-crypto/src/riak_control_security.erl	2018-02-11 00:04:26.716983802 +0200
@@ -152,7 +152,7 @@ valid_userpass(_User, _Pass, _Auth) ->
 csrf_token(ReqData, Context) ->
     case get_csrf_token(ReqData, Context) of
         undefined ->
-            binary_to_list(riak_core_base64url:encode(crypto:rand_bytes(256)));
+            binary_to_list(riak_core_base64url:encode(crypto:strong_rand_bytes(256)));
         Token ->
             Token
     end.