Tiqr / tiqr-server-libphp

A PHP library for using the tiqr authentication mechanism
6 stars 7 forks source link

Test openssl_random_pseudo_bytes generated a value #11

Closed MKodde closed 6 years ago

MKodde commented 6 years ago

If the value is false, fall back on the fallback behaviour. In some cases the method would now have returned false (when the function was unable to generate the random bytes.

See https://www.pivotaltracker.com/story/show/158356708