correctly check RAND_bytes error code
Merge pull request #878 from ggkitsas/rand-bytes-error-check

correctly check RAND_bytes error code
Update setup-seafile-mysql.py

Add '%s' to show error msg
Merge pull request #885 from imwhatiam/master

Update setup-seafile-mysql.py
Merge remote-tracking branch 'upstream/master'