Re: M2Crypto 0.16 status update
Conrad Steenberg <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Organization | California Institute of Technology |
| Message-ID | <[email protected]> |
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 <[email protected]> California Institute of Technology | http://conradsteenberg.info
m2crypto-0.15-m2crypto.patch
(text/x-patch, 316 B)
--- SWIG/_m2crypto.i.orig 2006-04-05 11:18:50.000000000 -0700 +++ SWIG/_m2crypto.i 2006-04-05 11:17:39.000000000 -0700 @@ -25,7 +25,7 @@ static int thread_mode = 0; %} -%include <openssl/opensslv.h> +#include <openssl/opensslv.h> #if OPENSSL_VERSION_NUMBER >= 0x0090707fL #define CONST const #else
smime.p7s
(application/x-pkcs7-signature, 2.5 KB) - not displayed