openssl: RAND_pseudo_bytes() returns 0 if bytes are not cryptographically strong
authorMartin Willi <martin@revosec.ch>
Thu, 4 Jul 2013 09:09:54 +0000 (11:09 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 4 Jul 2013 09:09:54 +0000 (11:09 +0200)
commit324b90cc46e3af52731fa98eb947e412ab56a2f5
tree834c1db7ac21bc4d3ba6ecbca5a608e050d2cd14
parent1d728758edc1ec38cdfa5d64fb578194de852685
openssl: RAND_pseudo_bytes() returns 0 if bytes are not cryptographically strong

For our purposes with RNG_WEAK this is fine, so accept a zero return value.
src/libstrongswan/plugins/openssl/openssl_rng.c