Some software expects RAND_status() to return 1 for success, so always
authorreyk <reyk@openbsd.org>
Wed, 16 Apr 2014 13:57:14 +0000 (13:57 +0000)
committerreyk <reyk@openbsd.org>
Wed, 16 Apr 2014 13:57:14 +0000 (13:57 +0000)
commit3b2d57e7ee490405fb100590f96d4c0d20590e3e
tree24525a1e8c60b8349b4abcdc852583ac201e1b06
parent0b8204bcd2b71044fe5d2e07bda0a54683690097
Some software expects RAND_status() to return 1 for success, so always
return 1 in the arc4random backend because there is no possible error
condition.  Unbreaks lynx, git and friends.

ok miod@ dcoppa@
lib/libcrypto/rand/rc4_rand.c
lib/libssl/src/crypto/rand/rc4_rand.c