haiwen/seafile — pull request #878 by ggkitsas (2014-10-07 13:44:44+00:00)
Title: correctly check RAND_bytes error code

See http://jbp.io/2014/01/16/openssl-rand-api/ (4. Recommendations and patches)