If rand_key() is called twive within the same second it would return the same key both times. Not very random. Redo how rand_key() works to make it more likely to be random and more likely that two consequtive calls do not yield the same result. Reported-by: CyberLoiter <yanming.xiao@gmail.com> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
15 KiB
15 KiB