Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix segfault if Crypto.Random.new is missing for some reason.
This should never happen, but we're already checking that Crypto.Random.new is callable, so we might as well also check that Crypto.Random.new exists. Also, fixing this should silence an (arguably false-positive) error emitted by cpychecker (a static analysis tool used by the Fedora project).
- Loading branch information