I am working on a function to create a CSR from OpenSSL 0.9.7m. So far, my function runs perfectly on x86_64, win32, solaris, and SGI, but seems to create a segfault on Linux ia64.
Basically it goes like this: Open the private key PEM_read the private key create a new X509_REQ X509_REQ_set_pubkey from the PEM_read_PrivateKey create a new X509_NAME Loop { Do NID lookups for all of my entries create name entries by NID add entries to my X509_NAME } X509_REQ_set_subject_name(my X509_REQ, my X509_NAME) (Function call causes a segfault) If anyone has any idea why this might happen, I'd much appreciate it. As I said, this has run on other platforms multiple times without even a hint of failure with the exact same data. Additionally, I have done an strace and nothing seems to be out of order that I can notice. Thanks! Brian