On 11/28/2010 1:53 AM, Ignacio Amoeiro Bosch wrote:

The following code Works in a standalone c program, but crash (with a
seg fault) using it as a module. The crash occurs at line :
X509_get_version(x), or any method that uses x

My guess would be that the OpenSSL headers you are compiling with don't precisely match the library that you are linking to. Functions like X509_get_version are macros that extract elements of the X509 structure.

DS

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to