Getting prime numbers from Openssl

We are working on a program to evaluate key-generation. What I need is to know how to get the prime numbers p & q OpenSSL uses to generate the keys, if possible through a function from openssl libraries to use with c/c++.

Thx in advance.
Topic archived. No new replies allowed.