<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>x2on.de &#187; Mac</title>
	<atom:link href="http://www.x2on.de/category/software/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x2on.de</link>
	<description>by Felix Schulze - a mobile evangelist. Tutorials for iOS, Android, Mac, Linux, iPhone and more...</description>
	<lastBuildDate>Sun, 29 Jan 2012 18:46:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SuperTux 0.3.3 for Mac OS X Lion Download</title>
		<link>http://www.x2on.de/2012/01/29/supertux-0-3-3-for-mac-os-x-lion-download/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=supertux-0-3-3-for-mac-os-x-lion-download</link>
		<comments>http://www.x2on.de/2012/01/29/supertux-0-3-3-for-mac-os-x-lion-download/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 10:03:54 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[SuperTux]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=852</guid>
		<description><![CDATA[If you like to play SuperTux here is the newest version for Mac OS X Lion build from the sourcecode (regarding to my tutorial Building SuperTux 0.3.3 on Mac OS X Lion) Download (Intel &#8211; 69,3MB): SuperTux 0.3.3.zip]]></description>
			<content:encoded><![CDATA[<p>If you like to play SuperTux here is the newest version for Mac OS X Lion build from the sourcecode (regarding to my tutorial <a title="Tutorial: Building SuperTux 0.3.3 on Mac OS X Lion" href="http://www.x2on.de/2012/01/28/tutorial-building-supertux-0-3-3-on-mac-os-x-lion/">Building SuperTux 0.3.3 on Mac OS X Lion</a>)</p>
<p>Download (Intel &#8211; 69,3MB): <a href="http://www.x2on.de/wp-content/uploads/2012/01/SuperTux_0.3.3_Lion.app.zip">SuperTux 0.3.3.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2012/01/29/supertux-0-3-3-for-mac-os-x-lion-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Building SuperTux 0.3.3 on Mac OS X Lion</title>
		<link>http://www.x2on.de/2012/01/28/tutorial-building-supertux-0-3-3-on-mac-os-x-lion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-building-supertux-0-3-3-on-mac-os-x-lion</link>
		<comments>http://www.x2on.de/2012/01/28/tutorial-building-supertux-0-3-3-on-mac-os-x-lion/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 17:43:45 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[SuperTux]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=841</guid>
		<description><![CDATA[Regarding to my tutorial for building SuperTux 0.3.2 SVN on Mac OS X Snow Leopard i updated the tutorial for Mac OS X Lion and the new location from the SuperTux Sourcecode. I also build a version for download if you don&#8217;t want to build it: SuperTux 0.3.3 for Mac OS X Lion Prerequisites Install [...]]]></description>
			<content:encoded><![CDATA[<p>Regarding to my tutorial for building <a href="http://www.x2on.de/2010/01/30/tutorial-building-supertux-0-3-2-svn-on-mac-os-x-snow-leopard/">SuperTux 0.3.2 SVN on Mac OS X Snow Leopard</a> i updated the tutorial for Mac OS X Lion and the new location from the SuperTux Sourcecode.</p>
<p>I also build a version for download if you don&#8217;t want to build it: <a href="http://www.x2on.de/2012/01/29/supertux-0-3-3-for-mac-os-x-lion-download/">SuperTux 0.3.3 for Mac OS X Lion</a><br />
<span id="more-841"></span></p>
<h4>Prerequisites</h4>
<p>Install HomeBrew:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(curl -fsSL https://raw.github.com/gist/323731)</span>&quot;</span></pre></div></div>

<p>Install needed requirements:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">brew <span style="color: #c20cb9; font-weight: bold;">install</span> libvorbis physfs glew sdl sdl_image boost</pre></div></div>

<h4>Build SuperTux</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git</span> clone https:<span style="color: #000000; font-weight: bold;">//</span>code.google.com<span style="color: #000000; font-weight: bold;">/</span>p<span style="color: #000000; font-weight: bold;">/</span>supertux<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> supertux
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> dist
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> build
cmake .. -DCMAKE_INSTALL_PREFIX=..<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span> -DCMAKE_BUILD_TYPE=RELEASE
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>If all works SuperTux.app should be in the dist folder.</p>
<h4>Links:</h4>
<ul>
<li>HomeBrew: <a href="https://github.com/mxcl/homebrew">https://github.com/mxcl/homebrew</a></li>
<li>SuperTux: <a href="http://supertux.lethargik.org/wiki/Main_Page">http://supertux.lethargik.org/wiki/Main_Page</a></li>
<li>SuperTux Sourcecode: <a href="https://code.google.com/p/supertux/">https://code.google.com/p/supertux/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2012/01/28/tutorial-building-supertux-0-3-3-on-mac-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SuperTux 0.3.3 for Mac OS X Snow Leopard Download</title>
		<link>http://www.x2on.de/2010/12/17/supertux-0-3-3-for-mac-os-x-download-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=supertux-0-3-3-for-mac-os-x-download-update</link>
		<comments>http://www.x2on.de/2010/12/17/supertux-0-3-3-for-mac-os-x-download-update/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 13:49:19 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[SuperTux]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=701</guid>
		<description><![CDATA[I build the Jump’n’Run-Game SuperTux 0.3.3 for Mac OS X with new versions from needed libraries. So it should work for Snow Leopard. Have fun…! Download (Intel – 67,4MB): SuperTux_0.3.3.dmg]]></description>
			<content:encoded><![CDATA[<p>I build the Jump’n’Run-Game SuperTux 0.3.3 for Mac OS X with new versions from needed libraries. So it should work for Snow Leopard. Have fun…!<br />
<span id="more-701"></span><br />
<strong>Download (Intel – 67,4MB):</strong> <a href="http://www.x2on.de/wp-content/uploads/2010/12/SuperTux-0.3.3.dmg">SuperTux_0.3.3.dmg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/12/17/supertux-0-3-3-for-mac-os-x-download-update/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>S/MIME on iOS with OpenSSL (iPhone/iPad) (UPDATE #6)</title>
		<link>http://www.x2on.de/2010/12/06/smime-on-ios-with-openssl-iphoneipad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=smime-on-ios-with-openssl-iphoneipad</link>
		<comments>http://www.x2on.de/2010/12/06/smime-on-ios-with-openssl-iphoneipad/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 08:52:25 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[S/MIME]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[X.509]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=686</guid>
		<description><![CDATA[Whenever I receive an encrypted e-mail, I can&#8217;t read it on my iPhone. So i write a little app that can do it I used my OpenSSL-for-iOS Library (http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/) and registered the P7M-Files from S/MIME for my app. So i can open the encrypted files directly from the iOS mail app and decrypt it with [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I receive an encrypted e-mail, I can&#8217;t read it on my iPhone. So i write a little app that can do it <img src='http://www.x2on.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I used my OpenSSL-for-iOS Library (<a href="http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/">http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/</a>) and registered the P7M-Files from S/MIME for my app. So i can open the encrypted files directly from the iOS mail app and decrypt it with my key.</p>
<p><strong>UPDATE #1 (09.12.2010):</strong> New screenshots from current development build</p>
<p><strong>UPDATE #2 (01.02.2011):</strong> The app is finished &#8211; But the encryption export is not really easy &#8211; stay tuned&#8230;</p>
<p><strong>UPDATE #3 (16.02.2011):</strong> So finally i got my ERN-Number with SNAP-R from BIS. Registered the app in iTunes Connect and working on some bugfixes and improvements. Stay tuned&#8230;</p>
<p><strong>UPDATE #4 (01.04.2011):</strong> Looking for Beta-tester: <a href="http://www.x2on.de/2011/04/01/secure-mail-beta-test-smime-on-ios-with-openssl/">http://www.x2on.de/2011/04/01/secure-mail-beta-test-smime-on-ios-with-openssl/</a></p>
<p><strong>UPDATE #5 (24.04.2011):</strong> Waiting for review: <a href="http://www.x2on.de/2011/04/24/secure-mail-waiting-for-review/">http://www.x2on.de/2011/04/24/secure-mail-waiting-for-review/</a></p>
<p><strong>UPDATE #6 (28.04.2011):</strong> The App is now ready for download: <a href="http://www.x2on.de/2011/04/28/secure-mail-is-ready-for-download-on-apple-app-store/">http://www.x2on.de/2011/04/28/secure-mail-is-ready-for-download-on-apple-app-store/</a></p>
<p><span style="text-decoration: underline;">So next steps are:</span></p>
<ul>
<li><span style="text-decoration: underline;">GUI (Done)</span></li>
<li><span style="text-decoration: underline;">Key-Management (Done)</span></li>
<li><span style="text-decoration: underline;">Encryption (Done)</span></li>
<li><span style="text-decoration: underline;">Decryption (Done)</span></li>
<li><span style="text-decoration: underline;">Check Signature (Not sure if possible at moment)</span></li>
<li><span style="text-decoration: underline;">Sign messages (In the future)</span></li>
</ul>
<p><a href="http://www.x2on.de/wp-content/uploads/2010/12/Screen2.png"><img class="alignnone size-medium wp-image-690" title="Secure Mail" src="http://www.x2on.de/wp-content/uploads/2010/12/Screen2-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2010/12/Screen1.png"><img class="alignnone size-medium wp-image-689" title="Secure Mail" src="http://www.x2on.de/wp-content/uploads/2010/12/Screen1-159x300.png" alt="" width="159" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/12/06/smime-on-ios-with-openssl-iphoneipad/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Update: OpenSSL 1.0.0c Libraries for iPhone iPod Touch iPad</title>
		<link>http://www.x2on.de/2010/12/04/update-openssl-1-0-0c-libraries-for-iphone-ipod-touch-ipad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-openssl-1-0-0c-libraries-for-iphone-ipod-touch-ipad</link>
		<comments>http://www.x2on.de/2010/12/04/update-openssl-1-0-0c-libraries-for-iphone-ipod-touch-ipad/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 12:15:40 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=680</guid>
		<description><![CDATA[OpenSSL 1.0.0c is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. I also did some GUI-Improvements for easier understanding. You can get it at http://github.com/x2on/OpenSSL-for-iPhone]]></description>
			<content:encoded><![CDATA[<p>OpenSSL 1.0.0c is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. I also did some GUI-Improvements for easier understanding. You can get it at <a href="http://github.com/x2on/OpenSSL-for-iPhone">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><a href="http://www.x2on.de/wp-content/uploads/2010/12/OpenSSL-for-iOS.png"><img class="alignnone size-medium wp-image-681" title="OpenSSL-for-iOS" src="http://www.x2on.de/wp-content/uploads/2010/12/OpenSSL-for-iOS-159x300.png" alt="" width="159" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/12/04/update-openssl-1-0-0c-libraries-for-iphone-ipod-touch-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: OpenSSL 1.0.0b Libraries for iPhone iPod Touch iPad</title>
		<link>http://www.x2on.de/2010/11/16/update-openssl-1-0-0b-libraries-for-iphone-ipod-touch-ipad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-openssl-1-0-0b-libraries-for-iphone-ipod-touch-ipad</link>
		<comments>http://www.x2on.de/2010/11/16/update-openssl-1-0-0b-libraries-for-iphone-ipod-touch-ipad/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 18:30:44 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=676</guid>
		<description><![CDATA[OpenSSL 1.0.0b is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. You can get it at http://github.com/x2on/OpenSSL-for-iPhone]]></description>
			<content:encoded><![CDATA[<p>OpenSSL 1.0.0b is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. You can get it at <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/11/16/update-openssl-1-0-0b-libraries-for-iphone-ipod-touch-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: iPhone App with compiled OpenSSL 1.0.0a Library</title>
		<link>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-iphone-app-with-compiled-openssl-1-0-0a-library</link>
		<comments>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 17:22:25 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=598</guid>
		<description><![CDATA[This is a tutorial for using self-compiled builds of the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a). This tutorial works with [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tutorial for using self-compiled builds of  the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a).<br />
<span id="more-598"></span></p>
<p>This tutorial works with OpenSSL 1.0.0a and Xcode 3.2.3 with iOS 4.</p>
<p><strong>Update:</strong> Script for automatic building OpenSSL (currently 1.0.0d) for iOS: <a href="http://www.x2on.de/2010/12/16/tutorial-script-for-building-openssl-for-ios-iphoneipad/">http://www.x2on.de/2010/12/16/tutorial-script-for-building-openssl-for-ios-iphoneipad/</a></p>
<p>You can find the tutorial for OpenSSL 0.9.8 at <a href="http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/">http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/</a></p>
<p>You can get the Source of the example app with compiled OpenSSL at <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<h3>Create OpenSSL Libary:</h3>
<p>Download OpenSSL Sourcecode<br />
Change in crypto/ui/ui_openssl.c</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> sig_atomic_t intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> <span style="color: #993333;">int</span> intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>for preventing building error</p>
<h4>Build OpenSSL for i368 iPhoneSimulator:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ssllibs
<span style="color: #7a0874; font-weight: bold;">cd</span> openssl-1.0.0a
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> openssl_armv6 openssl_armv7 openssl_i386
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-1.0.0a<span style="color: #000000; font-weight: bold;">/</span>openssl_i386</pre></div></div>

<h5>Edit Makefile:</h5>
<p>Change CC = cc to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #660033;">-arch</span> i386</pre></div></div>

<p>Add as first item to CFLAG:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator4.0.sdk</pre></div></div>

<h5>Build it:</h5>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Your libcrypto.a and libssl.a are in the folder openssl_i368/lib</p>
<h4>Build OpenSSL for armv6 iOS:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> openssl_i386 ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs
<span style="color: #c20cb9; font-weight: bold;">make</span> clean
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-1.0.0a<span style="color: #000000; font-weight: bold;">/</span>openssl_armv6</pre></div></div>

<h5>Edit Makefile:</h5>
<p>Change CC = cc to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #660033;">-arch</span> armv6</pre></div></div>

<p>Add as first item to CFLAG:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS4.0.sdk</pre></div></div>

<h5>Build it:</h5>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Your libcrypto.a and libssl.a are in the folder openssl_armv6/lib</p>
<h4>Build OpenSSL for armv7 iOS:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> openssl_armv6 ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs
<span style="color: #c20cb9; font-weight: bold;">make</span> clean
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-1.0.0a<span style="color: #000000; font-weight: bold;">/</span>openssl_armv7</pre></div></div>

<h5>Edit Makefile:</h5>
<p>Change CC = cc to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #660033;">-arch</span> armv7</pre></div></div>

<p>Add as first item to CFLAG:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS4.0.sdk</pre></div></div>

<h5>Build it:</h5>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Your libcrypto.a and libssl.a are in the folder openssl_armv7/lib</p>
<p>Create universal libs:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> openssl_armv7<span style="color: #000000; font-weight: bold;">/</span>include ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>
lipo <span style="color: #660033;">-create</span> ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_i386<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_armv6<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a openssl_armv7<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a <span style="color: #660033;">-output</span> ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a
lipo <span style="color: #660033;">-create</span> ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_i386<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_armv6<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a openssl_armv7<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a <span style="color: #660033;">-output</span> ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>libssl.a</pre></div></div>

<h4>Edit your iPhone-XCode project:</h4>
<p>Copy the &#8220;include&#8221; folder from OpenSSL into your project-folder<br />
Copy the libcrypto.a and libssl.a files into your project-folder<br />
Drag the libcrypto.a and libssl.a files into your XCode Framework Folder-Tree<br />
Open the Build-Info from your &#8220;Target&#8221; (Righclick on Target &#8211; Get Info)<br />
Change <em>Library Search Paths</em> to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$<span style="color: #7a0874; font-weight: bold;">&#40;</span>inherited<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(SRCROOT)</span>&quot;</span></pre></div></div>

<p>Change <em>User Header Search Paths</em> to <em>include</em><br />
Activate <em>Always Search User Paths</em></p>
<p><strong>Enjoy OpenSSL on the iPhone!</strong></p>
<p>I have made an iOS 3.2/4.0 XCode Project with OpenSSL 1.0.0a libaries. The examples uses the MD5-algorithm to calculate an md5 hash from an UITextfield.</p>
<p><strong>Download:</strong> <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><strong>Disclaimer: Use this at your own risk.</strong></p>
<p><strong>Links: </strong></p>
<ul>
<li><a href="http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/" target="_blank">http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/</a></li>
<li><a href="http://www.openssl.org/" target="_blank">http://www.openssl.org/</a></li>
<li><a href="http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html" target="_blank">http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Update: OpenSSL 0.9.8o Libraries for iPhone iPod Touch iPad</title>
		<link>http://www.x2on.de/2010/06/10/update-openssl-0-9-8o-libaries-for-iphone-ipod-touch-ipad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-openssl-0-9-8o-libaries-for-iphone-ipod-touch-ipad</link>
		<comments>http://www.x2on.de/2010/06/10/update-openssl-0-9-8o-libaries-for-iphone-ipod-touch-ipad/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 17:05:03 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=585</guid>
		<description><![CDATA[OpenSSL 0.9.8o is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. I added an extra version for the iPad (compiled with the iPhoneOS 3.2 SDK). You can get it at http://github.com/x2on/OpenSSL-for-iPhone]]></description>
			<content:encoded><![CDATA[<p>OpenSSL 0.9.8o is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. I added an extra version for the iPad (compiled with the iPhoneOS 3.2 SDK). You can get it at <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/06/10/update-openssl-0-9-8o-libaries-for-iphone-ipod-touch-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SuperTux 0.3.3 for Mac OS X Download</title>
		<link>http://www.x2on.de/2010/03/09/supertux-0-3-3-for-mac-os-x-download/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=supertux-0-3-3-for-mac-os-x-download</link>
		<comments>http://www.x2on.de/2010/03/09/supertux-0-3-3-for-mac-os-x-download/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 22:16:19 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[SuperTux]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=569</guid>
		<description><![CDATA[I build the Jump’n&#8217;Run-Game SuperTux 0.3.3 for Mac OS X! Have fun&#8230;! Download (Intel – 57,6MB): SuperTux_0.3.3.dmg UPDATE 2010-12-17: Download (Intel – 67,4MB): SuperTux_0.3.3.dmg]]></description>
			<content:encoded><![CDATA[<p>I build the Jump’n&#8217;Run-Game SuperTux 0.3.3 for Mac OS X! Have fun&#8230;!</p>
<p><del datetime="2010-12-17T13:49:25+00:00"><strong>Download (Intel – 57,6MB):</strong> <a href="http://www.x2on.de/wp-content/uploads/2010/03/SuperTux_0.3.3.dmg">SuperTux_0.3.3.dmg</a></del></p>
<p>UPDATE 2010-12-17:<br />
<strong>Download (Intel – 67,4MB):</strong> <a href="http://www.x2on.de/wp-content/uploads/2010/12/SuperTux-0.3.3.dmg">SuperTux_0.3.3.dmg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/03/09/supertux-0-3-3-for-mac-os-x-download/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Tutorial: iPhone App with compiled OpenSSL Library</title>
		<link>http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-iphone-app-with-compiled-openssl-library</link>
		<comments>http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:42:23 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=480</guid>
		<description><![CDATA[This is a tutorial for using self-compiled builds of  the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a). This tutorial works with [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tutorial for using self-compiled builds of  the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a).<span id="more-480"></span></p>
<p>This tutorial works with OpenSSL 0.9.8o and Xcode 3.2 with iPhoneOS 3.1.3.<br />
An updated version of this tutorial for OpenSSL 1.0 and Xcode 3.2.3 with iOS 4 is here:<br />
<a href="http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/">http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/</a></p>
<p>UPDATE 2010-07-13: New tutorial for OpenSSL 1.0.0a and iOS4<br />
UPDATE 2010-06-30: I have updated OpenSSL to 1.0.0a with iOS 4.0 as base SDK<br />
UPDATE 2010-06-10: I have updated OpenSSL to 0.9.8o + iPad Version<br />
UPDATE 2010-03-31: I have updated OpenSSL to 0.9.8n<br />
UPDATE 2010-02-26: I have updated OpenSSL to 0.9.8m</p>
<p>You can get the Source of the example app with compiled OpenSSL at <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><strong>Create OpenSSL Libary:</strong></p>
<ul>
<li>Download OpenSSL Sourcecode</li>
<li>Build OpenSSL for i368 iPhoneSimulator:
<ul>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> openssl-0.9.8o
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> openssl_arm
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> openssl_i386
.<span style="color: #000000; font-weight: bold;">/</span>config <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">//</span>openssl-0.9.8o<span style="color: #000000; font-weight: bold;">/</span>openssl_i386</pre></div></div>

</li>
<li>Edit Makefile:
<ul>
<li>Change CC = cc to:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gcc-<span style="color: #000000;">4.0</span></pre></div></div>

</li>
<li>Add as first item to CFLAG:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator3.1.2.sdk</pre></div></div>

</li>
</ul>
</li>
<li>Change in crypto/ui/ui_openssl.c

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> sig_atomic_t intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> <span style="color: #993333;">int</span> intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>for preventing building error</li>
<li>Build it:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>Your libcrypto.a and libssl.a are in the folder openssl_i368/lib</li>
<li>Rename the two files to libcrypto_i386.a and libssl_i386.a</li>
</ul>
</li>
<li>Build OpenSSL for arm iPhoneOS:
<ul>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> openssl_i386 openssl_i386_lib
<span style="color: #c20cb9; font-weight: bold;">make</span> clean</pre></div></div>

</li>
<li>Edit Makefile:
<ul>
<li>Search and replace openssl_i386 with openssl_arm</li>
<li>Change -arch i386 in CFLAG to:<br />
-arch armv6</li>
<li>Change

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>=  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gcc-<span style="color: #000000;">4.0</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>=  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gcc-<span style="color: #000000;">4.0</span></pre></div></div>

</li>
<li>Change

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span>  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator3.1.2.sdk</pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span>  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS3.1.2.sdk</pre></div></div>

</li>
</ul>
</li>
<li>Build it:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>Your libcrypto.a and libssl.a are in the folder openssl_arm/lib</li>
<li>Rename the two files to libcrypto_arm.a and libssl_arm.a</li>
</ul>
</li>
</ul>
<p><strong>Edit your iPhone-XCode project:</strong></p>
<ul>
<li>Copy the &#8220;include&#8221; folder from OpenSSL into your project-folder</li>
<li>Copy the libcrypto_*.a and libss_*.a files into your project-folder</li>
<li>Drag the libcrypto_*.a and libss_*.a files into your XCode Framework Folder-Tree</li>
<li>Open the Build-Info from your &#8220;Target&#8221; (Righclick on Target &#8211; Get Info)</li>
<li>Change <em>Library Search Paths</em> to

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$<span style="color: #7a0874; font-weight: bold;">&#40;</span>inherited<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(SRCROOT)</span>&quot;</span></pre></div></div>

</li>
<li>Change <em>User Header Search Paths</em> to <em>include</em></li>
<li>Activate <em>Always Search User Paths</em></li>
</ul>
<p><strong>Enjoy OpenSSL on the iPhone!</strong></p>
<p>I have made an iPhone OS 3.1.2 XCode Project with OpenSSL 0.9.8o libaries. The examples uses the MD5-algorithm to calculate an md5 hash from an UITextfield.</p>
<p><strong>Download:</strong> <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><strong>Disclaimer: Use this at your own risk.</strong></p>
<p><strong>Links: </strong></p>
<ul>
<li><a href="http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/" target="_blank">http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/</a></li>
<li><a href="http://www.openssl.org/" target="_blank">http://www.openssl.org/</a></li>
<li><a href="http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html" target="_blank">http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

