[PYTHON-CRYPTO] M2Crypto 0.16 status update

Conrad Steenberg conrad at HEP.CALTECH.EDU
Wed Apr 5 22:42:53 CEST 2006


Hi Heikki

That is indeed good news :-)

I happened to need to repackage a M2Crypto for a project at CERN and
decided to see if the m2c-0.15 code could be made to work with the
latest version of SWIG - namely 1.3.29.

The short answer is that it was almost trivial, only needing the
attached patch, which comes down to a

-%include <openssl/opensslv.h>
+#include <openssl/opensslv.h>


Apart from that, there are numerous warnings of the form 
_asn1.i:19: Warning(121): %name is deprecated.  Use %rename instead.

The code in this case in _asn.i is:
%name(asn1_object_new) extern ASN1_OBJECT *ASN1_OBJECT_new( void );

Replacing the above with
%rename(asn1_object_new) ASN1_OBJECT_new( void );

makes the symbols asn1_object_new and ASN1_OBJECT_new disappear from the
generated __m2crypto.so :-(

Do you or anybody else on the list have any idea what the correct syntax
for %rename is in this case? The swig docs don't suggest anything
obviously wrong with the above, afaics. See
http://www.swig.org/Doc1.3/SWIGDocumentation.html

Cheers

Conrad

On Tue, 2006-04-04 at 11:49 -0700, Heikki Toivonen wrote:
> Good news: I'll be able to spend 20% of my office time on shipping
> M2Crypto 0.16.
> 
> Because of this additional time I have moved the release earlier. The
> plan is to stop new development on June 1, and start doing weekly
> release candidates. I expect to ship the final release by the end of June.
> 
> To see the list of remaining bugs to be fixed etc. visit
> http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto
> 
-- 
Conrad Steenberg <conrad at hep.caltech.edu> 
California Institute of Technology | http://conradsteenberg.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m2crypto-0.15-m2crypto.patch
Type: text/x-patch
Size: 316 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20060405/4789997e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2531 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20060405/4789997e/attachment-0001.bin>


More information about the python-crypto mailing list