vysheng/tg — pull request #242 by nopjmp (2014-09-04 00:42:26+00:00)
Title: fixed RAND_bytes return code checking

https://www.openssl.org/docs/crypto/RAND_bytes.html#RETURN_VALUES

"RAND_bytes() returns 1 on success, 0 otherwise. ... return -1 if they are not supported by the current RAND method"