crypto: avoid infinite loops in prime generation
Can't show this merge request because the source branch github/fork/tniessen/crypto-prime-avoid-infinite-loops is missing from project rodrigo-test/test-group-nodejs/node. Close this merge request or update the source branch.