RT992: RSA_check_key should have a callback arg
authorRich Salz <rsalz@akamai.com>
Thu, 14 Aug 2014 20:47:13 +0000 (16:47 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 8 Sep 2014 15:11:49 +0000 (11:11 -0400)
commit2afb29b480d87c4c24f830e69dfe82762e3db608
tree25bac5a5fdc21fc75def7c071517eb61e1e0043e
parentbe0bd11d698677bb7dde14cde73af098da94da18
RT992: RSA_check_key should have a callback arg

The original RT request included a patch.  By the time
we got around to doing it, however, the callback scheme
had changed. So I wrote a new function RSA_check_key_ex()
that uses the BN_GENCB callback.  But thanks very much
to Vinet Sharma <vineet.sharma@gmail.com> for the
initial implementation.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
crypto/rsa/rsa.h
crypto/rsa/rsa_chk.c
doc/crypto/BN_generate_prime.pod
doc/crypto/RSA_check_key.pod