<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Building M2Crypto on Windows</title>
	<atom:link href="http://www.gooli.org/blog/building-m2crypto-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gooli.org/blog/building-m2crypto-on-windows/</link>
	<description>on software development and related issues</description>
	<pubDate>Tue, 07 Oct 2008 23:38:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Heikki Toivonen</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-4488</link>
		<dc:creator>Heikki Toivonen</dc:creator>
		<pubDate>Thu, 14 Aug 2008 07:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-4488</guid>
		<description>Python 2.6 will indeed include improvements in the stdlib SSL handling. However, it claims to have full support for server side SSL operations, and client operations are still something you would probably want to use something else, like M2Crypto, for.

As I was reading through the Python 2.6 documentation it also struck me that it seems SSLv2 will be supported out of the box, and there does not seem to be a way to turn that off. As far as I know the only way to write code that works with SSLv3 and all versions of TLS is to use the misleading SSLv23 mode, but you should then really turn off SSLv2 as well.</description>
		<content:encoded><![CDATA[<p>Python 2.6 will indeed include improvements in the stdlib SSL handling. However, it claims to have full support for server side SSL operations, and client operations are still something you would probably want to use something else, like M2Crypto, for.</p>
<p>As I was reading through the Python 2.6 documentation it also struck me that it seems SSLv2 will be supported out of the box, and there does not seem to be a way to turn that off. As far as I know the only way to write code that works with SSLv3 and all versions of TLS is to use the misleading SSLv23 mode, but you should then really turn off SSLv2 as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris DeMattio</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-4089</link>
		<dc:creator>Chris DeMattio</dc:creator>
		<pubDate>Mon, 21 Jul 2008 16:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-4089</guid>
		<description>If building using openssl.0.9.8h and Visual Studio 2003, you may encounter the following error:

_m2crypto_wrap.c
c:\openSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing ')' before '('
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing ')' before '('
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing '{' before 'constant'
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : ''
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : ')'
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : ')'
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
SWIG\_m2crypto_wrap.c(5861) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'v
oid (__cdecl *)(void *)'
error: command '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe"' failed with exit status 2


This is a known issue with OpenSSL.  See http://rt.openssl.org/Ticket/Display.html?id=1700&#38;user=guest&#38;pass=guest for information.</description>
		<content:encoded><![CDATA[<p>If building using openssl.0.9.8h and Visual Studio 2003, you may encounter the following error:</p>
<p>_m2crypto_wrap.c<br />
c:\openSSL\include\openssl\x509.h(207) : error C2059: syntax error : &#8216;type&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;type&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#8216;)&#8217; before &#8216;(&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#8216;)&#8217; before &#8216;(&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function<br />
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function<br />
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#8216;{&#8217; before &#8216;constant&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8221;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;)&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;)&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;type&#8217;<br />
SWIG\_m2crypto_wrap.c(5861) : warning C4113: &#8216;void (__cdecl *)()&#8217; differs in parameter lists from &#8216;v<br />
oid (__cdecl *)(void *)&#8217;<br />
error: command &#8216;&#8221;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe&#8221;&#8216; failed with exit status 2</p>
<p>This is a known issue with OpenSSL.  See <a href="http://rt.openssl.org/Ticket/Display.html?id=1700&amp;user=guest&amp;pass=guest" rel="nofollow">http://rt.openssl.org/Ticket/Display.html?id=1700&amp;user=guest&amp;pass=guest</a> for information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Burns</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1877</link>
		<dc:creator>Barry Burns</dc:creator>
		<pubDate>Sat, 15 Dec 2007 21:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1877</guid>
		<description>Building m2crypto in Windows with free tools

1. Download &#38; install MinGW from www.mingw.org.
2. Download the swigwin distribution from www.swig.org and unzip it to a directory (c:\mingw\swig might not be a bad one)
3. Download &#38; install OpenSSL: http://www.slproweb.com/products/Win32OpenSSL.html
4. Copy the OpenSSL include files (c:\openssl\include) to the Python include directory (c:\pythonXY\include)
5. Copy the OpenSSL libraries (C:\OpenSSL\lib\MinGW) to the MinGW library directory (c:\pythonXY\libs)
6. Rename ssleay32.a and libeay32.a to libssleay32.a and liblibeay32.a respectively.
7. path c:\mingw\bin;c:\mingw\swig;%path%
8. setup.py build -c mingw32 bdist_wininst</description>
		<content:encoded><![CDATA[<p>Building m2crypto in Windows with free tools</p>
<p>1. Download &amp; install MinGW from <a href="http://www.mingw.org" rel="nofollow">http://www.mingw.org</a>.<br />
2. Download the swigwin distribution from <a href="http://www.swig.org" rel="nofollow">http://www.swig.org</a> and unzip it to a directory (c:\mingw\swig might not be a bad one)<br />
3. Download &amp; install OpenSSL: <a href="http://www.slproweb.com/products/Win32OpenSSL.html" rel="nofollow">http://www.slproweb.com/products/Win32OpenSSL.html</a><br />
4. Copy the OpenSSL include files (c:\openssl\include) to the Python include directory (c:\pythonXY\include)<br />
5. Copy the OpenSSL libraries (C:\OpenSSL\lib\MinGW) to the MinGW library directory (c:\pythonXY\libs)<br />
6. Rename ssleay32.a and libeay32.a to libssleay32.a and liblibeay32.a respectively.<br />
7. path c:\mingw\bin;c:\mingw\swig;%path%<br />
8. setup.py build -c mingw32 bdist_wininst</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gooli</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1492</link>
		<dc:creator>gooli</dc:creator>
		<pubDate>Sun, 30 Sep 2007 22:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1492</guid>
		<description>It does seem that way. Thanks for the info!</description>
		<content:encoded><![CDATA[<p>It does seem that way. Thanks for the info!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Lowe</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1438</link>
		<dc:creator>Mike Lowe</dc:creator>
		<pubDate>Fri, 28 Sep 2007 19:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1438</guid>
		<description>From the looks of it, a lot of the things that make m2crypto attractive will be included in the ssl module in python 2.6.  http://svn.python.org/view/*checkout*/python/trunk/Doc/library/ssl.rst</description>
		<content:encoded><![CDATA[<p>From the looks of it, a lot of the things that make m2crypto attractive will be included in the ssl module in python 2.6.  <a href="http://svn.python.org/view/" rel="nofollow">http://svn.python.org/view/</a>*checkout*/python/trunk/Doc/library/ssl.rst</p>
]]></content:encoded>
	</item>
</channel>
</rss>
