Sun, 03 Dec 2017 10:17:15 +0100
replaces RAND_pseudo_bytes with RAND_bytes
libidav/utils.c | file | annotate | diff | comparison | revisions |
--- a/libidav/utils.c Mon Oct 30 16:29:07 2017 +0100 +++ b/libidav/utils.c Sun Dec 03 10:17:15 2017 +0100 @@ -555,7 +555,7 @@ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"); const unsigned char *table = (const unsigned char*)t.ptr; - RAND_pseudo_bytes(str, 24); + RAND_bytes(str, 24); for(int i=0;i<24;i++) { int c = str[i] % t.length; str[i] = table[c];