Matthew Julius Raibert wrote:
It also seems unusual that what appears to be a generic function call in the bignum library is in fact a helper function for a specific application and as such not useful for others. Writing my own prime generator is simple enough, but perhaps BN_generate_prime would be more appropriately named BN_generate_rsa_prime or something.
I agree that the current behaviour is not really optimal (in particular as it is not documented). Perhaps you should send a bug report to [EMAIL PROTECTED] Nils ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]