Lorenz, I think we'll push your getStrongPrime() patch to a future release. This will give us time to do it properly.
I've applied a modified version of your smaller patch:
http://gitweb.pycrypto.org/?p=crypto/pycrypto-2.x.git;a=commitdiff;h=05927c01c80fcf21fd103d166d5fce3da4ae2e51
Lorenz, I think we'll push your getStrongPrime() patch to a future release. This will give us time to do it properly.
I've applied a modified version of your smaller patch:
http:// gitweb. pycrypto. org/?p= crypto/ pycrypto- 2.x.git; a=commitdiff; h=05927c01c80fc f21fd103d166d5f ce3da4ae2e51