Browse Source

fix warning -- use crypto:strong_rand_bytes/1

221V 1 year ago
parent
commit
cea150898f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cow_multipart.erl

+ 1 - 1
src/cow_multipart.erl

@@ -347,7 +347,7 @@ horse_parse() ->
 
 -spec boundary() -> binary().
 boundary() ->
-	base64:encode(crypto:rand_bytes(48)).
+	base64:encode(crypto:strong_rand_bytes(48)).
 
 %% @doc Return the first part's head.
 %%