Re: More M2Crypto build problems

2007-03-07 Thread John Nagle
Now I understand what's wrong. It's an incompatibility between SWIG, OpenSSL, and M2Crypto. OpenSSL was built with OPENSSL_NO_EC defined. That's actually defined via "opensslconf.h", which includes, based on whether __i386__ is defined, the file "opensslconf-i386.h". OpenSSL didn't alwa

Re: More M2Crypto build problems

2007-03-07 Thread John Nagle
Still more M2Crypto build problems: In M2Crypto's file "SWIG/_ec.i", there's this: #if OPENSSL_VERSION_NUMBER < 0x0090800fL || defined(OPENSSL_NO_EC) #undef OPENSSL_NO_EC %constant OPENSSL_NO_EC = 1; #else %constant OPENSSL_NO_EC = 0; %{ #include #include #include #include #include #inc