More M2Crypto build problems
John Nagle
nagle at animats.com
Wed Mar 7 17:36:25 EST 2007
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 <openssl/bn.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509.h>
#include <openssl/ecdsa.h>
#include <openssl/ecdh.h>
%}
There's the assumption here that versions of OpenSSL greater than 0.9.08???
contain elliptical curve cryptography support. There's
also the assumption that "ecdsa.h" is present; it is included
unconditionally, and definitions from it are used later.
Unfortunately, the ones that ship with Fedora Core 5 and 6 do not have it:
http://threebit.net/mail-archive/fedora-list/msg14507.html
Updating with "yum" doesn't help. Apparently there are patent problems
with the algorithm, and Red Hat pulled that code. See
http://en.wikipedia.org/wiki/ECC_patents
I'm trying to get M2Crypto to build without elliptical cryptography, but
it's not working
John Nagle
"Python. Embrace the pain".
More information about the Python-list
mailing list