<?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; Projects</title>
	<atom:link href="http://www.x2on.de/category/projects/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>Secure-Mail is ready for download on Apple App Store</title>
		<link>http://www.x2on.de/2011/04/28/secure-mail-is-ready-for-download-on-apple-app-store/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=secure-mail-is-ready-for-download-on-apple-app-store</link>
		<comments>http://www.x2on.de/2011/04/28/secure-mail-is-ready-for-download-on-apple-app-store/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 06:29:14 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></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=812</guid>
		<description><![CDATA[Secure-Mail is now ready for purchase on Apple App Store! The review process was sucessfully! With Secure-Mail you can read and write email encrypted with S/MIME (Secure/Multipurpose Internet Mail Extensions) on iOS (iPhone, iPad and iPod Touch). You can find more details at www.secure-mail.me Direct link to Secure-Mail on App Store: Secure-Mail App]]></description>
			<content:encoded><![CDATA[<p>Secure-Mail is now ready for purchase on Apple App Store! The review process was sucessfully!</p>
<p>With Secure-Mail you can read and write email encrypted with S/MIME (Secure/Multipurpose Internet Mail Extensions) on iOS (iPhone, iPad and iPod Touch).</p>
<p><strong>You can find more details at <a href="http://www.secure-mail.me">www.secure-mail.me</a></strong></p>
<p><strong>Direct link to Secure-Mail on App Store: <a href="http://itunes.apple.com/us/app/secure-mail/id420919054?mt=8&amp;ls=1#">Secure-Mail App</a></strong></p>
<p><a href="http://www.x2on.de/wp-content/uploads/2011/04/1.png"><img class="alignnone size-medium wp-image-794" title="1" src="http://www.x2on.de/wp-content/uploads/2011/04/1-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/2.png"><img class="alignnone size-medium wp-image-795" title="2" src="http://www.x2on.de/wp-content/uploads/2011/04/2-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/3.png"><img class="alignnone size-medium wp-image-796" title="3" src="http://www.x2on.de/wp-content/uploads/2011/04/3-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/4.png"><img class="alignnone size-medium wp-image-797" title="4" src="http://www.x2on.de/wp-content/uploads/2011/04/4-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/5.png"><img class="alignnone size-medium wp-image-798" title="5" src="http://www.x2on.de/wp-content/uploads/2011/04/5-159x300.png" alt="" width="159" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2011/04/28/secure-mail-is-ready-for-download-on-apple-app-store/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Secure-Mail: Waiting for Review</title>
		<link>http://www.x2on.de/2011/04/24/secure-mail-waiting-for-review/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=secure-mail-waiting-for-review</link>
		<comments>http://www.x2on.de/2011/04/24/secure-mail-waiting-for-review/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 16:30:29 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[S/MIME]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=789</guid>
		<description><![CDATA[With Secure-Mail you can read S/MIME encrypted mails directly from Mail.app and send encrypted S/MIME mails with SMTP. The Version 1.0 is now submitted to the App Store. Current Status: Waiting for Review UPDATE 2011-04-28: The App is now ready for download: http://www.x2on.de/2011/04/28/secure-mail-is-ready-for-download-on-apple-app-store/ Thanks for your help at the beta-test. Some screenshot from the final 1.0:]]></description>
			<content:encoded><![CDATA[<p>With Secure-Mail you can read S/MIME encrypted mails directly from Mail.app and send encrypted S/MIME mails with SMTP.</p>
<p>The Version 1.0 is now submitted to the App Store.<br />
<strong>Current Status:</strong> Waiting for Review</p>
<p><strong>UPDATE 2011-04-28:</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>Thanks for your help at the <a href="http://www.x2on.de/2011/04/01/secure-mail-beta-test-smime-on-ios-with-openssl/">beta-test</a>.</p>
<p><a href="http://www.x2on.de/wp-content/uploads/2011/04/Review.png"><img class="alignnone size-full wp-image-791" title="Review" src="http://www.x2on.de/wp-content/uploads/2011/04/Review.png" alt="" width="389" height="194" /></a></p>
<h3>Some screenshot from the final 1.0:</h3>
<h3><a href="http://www.x2on.de/wp-content/uploads/2011/04/1.png"><img class="alignnone size-medium wp-image-794" title="1" src="http://www.x2on.de/wp-content/uploads/2011/04/1-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/2.png"><img class="alignnone size-medium wp-image-795" title="2" src="http://www.x2on.de/wp-content/uploads/2011/04/2-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/3.png"><img class="alignnone size-medium wp-image-796" title="3" src="http://www.x2on.de/wp-content/uploads/2011/04/3-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/4.png"><img class="alignnone size-medium wp-image-797" title="4" src="http://www.x2on.de/wp-content/uploads/2011/04/4-159x300.png" alt="" width="159" height="300" /></a><a href="http://www.x2on.de/wp-content/uploads/2011/04/5.png"><img class="alignnone size-medium wp-image-798" title="5" src="http://www.x2on.de/wp-content/uploads/2011/04/5-159x300.png" alt="" width="159" height="300" /></a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2011/04/24/secure-mail-waiting-for-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secure-Mail Beta Test &#8211; S/MIME on iOS with OpenSSL (UPDATE #3)</title>
		<link>http://www.x2on.de/2011/04/01/secure-mail-beta-test-smime-on-ios-with-openssl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=secure-mail-beta-test-smime-on-ios-with-openssl</link>
		<comments>http://www.x2on.de/2011/04/01/secure-mail-beta-test-smime-on-ios-with-openssl/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 14:57:24 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></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=749</guid>
		<description><![CDATA[Im searching some people how want&#8217;s to test Secure-Mail App. With Secure-Mail you can read S/MIME encrypted mails directly from Mail.app and send encrypted S/MIME mails with SMTP. Please send me an email with some details about you, and why you wan&#8217;t test the beta. 2011-04-13: UPDATE #1: The Beta-Test is running now. At this [...]]]></description>
			<content:encoded><![CDATA[<p>Im searching some people how want&#8217;s to test Secure-Mail App.</p>
<p>With Secure-Mail you can read S/MIME encrypted mails directly from Mail.app and send encrypted S/MIME mails with SMTP.</p>
<p>Please send me an <a href="mailto:code@felixschulze.de">email</a> with some details about you, and why you wan&#8217;t test the beta.</p>
<p><strong>2011-04-13: UPDATE #1:</strong> The Beta-Test is running now. At this time no new beta-testers are invited. Thanks for your help.</p>
<p><strong>2011-04-24: UPDATE #2:</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>2011-04-28: UPDATE #3</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><strong>More details about Secure-Mail:</strong> <a href="http://www.x2on.de/2010/12/06/smime-on-ios-with-openssl-iphoneipad/">http://www.x2on.de/2010/12/06/smime-on-ios-with-openssl-iphoneipad/</a></p>
<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></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2011/04/01/secure-mail-beta-test-smime-on-ios-with-openssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Script for building OpenSSL for iOS (iPhone/iPad)</title>
		<link>http://www.x2on.de/2010/12/16/tutorial-script-for-building-openssl-for-ios-iphoneipad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-script-for-building-openssl-for-ios-iphoneipad</link>
		<comments>http://www.x2on.de/2010/12/16/tutorial-script-for-building-openssl-for-ios-iphoneipad/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 19:13:54 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[S/MIME]]></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=696</guid>
		<description><![CDATA[Related to my posts http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/ and http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/ i created a buildscript for building OpenSSL for iOS (iPhone/iPad). You can get it here: https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh Source: #!/bin/sh &#160; # Automatic build script for libssl and libcrypto # for iPhoneOS and iPhoneSimulator # # Created by Felix Schulze on 16.12.10. # Copyright 2010 Felix Schulze. All rights reserved. [...]]]></description>
			<content:encoded><![CDATA[<p>Related to my posts <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> and <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> i created a buildscript for building OpenSSL for iOS (iPhone/iPad).</p>
<p>You can get it here: <a href="https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh">https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh</a></p>
<p><span id="more-696"></span><br />
<strong>Source:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#  Automatic build script for libssl and libcrypto </span>
<span style="color: #666666; font-style: italic;">#  for iPhoneOS and iPhoneSimulator</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#  Created by Felix Schulze on 16.12.10.</span>
<span style="color: #666666; font-style: italic;">#  Copyright 2010 Felix Schulze. All rights reserved.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#  Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span>
<span style="color: #666666; font-style: italic;">#  you may not use this file except in compliance with the License.</span>
<span style="color: #666666; font-style: italic;">#  You may obtain a copy of the License at</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#  http://www.apache.org/licenses/LICENSE-2.0</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#  Unless required by applicable law or agreed to in writing, software</span>
<span style="color: #666666; font-style: italic;">#  distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<span style="color: #666666; font-style: italic;">#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<span style="color: #666666; font-style: italic;">#  See the License for the specific language governing permissions and</span>
<span style="color: #666666; font-style: italic;">#  limitations under the License.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">###########################################################################</span>
<span style="color: #666666; font-style: italic;">#  Change values here													  #</span>
<span style="color: #666666; font-style: italic;">#																		  #</span>
<span style="color: #007800;">VERSION</span>=<span style="color: #ff0000;">&quot;1.0.0c&quot;</span>													      <span style="color: #666666; font-style: italic;">#</span>
<span style="color: #007800;">SDKVERSION</span>=<span style="color: #ff0000;">&quot;4.2&quot;</span>														  <span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#																		  #</span>
<span style="color: #666666; font-style: italic;">###########################################################################</span>
<span style="color: #666666; font-style: italic;">#																		  #</span>
<span style="color: #666666; font-style: italic;"># Don't change anything under this line!								  #</span>
<span style="color: #666666; font-style: italic;">#																		  #</span>
<span style="color: #666666; font-style: italic;">###########################################################################</span>
&nbsp;
&nbsp;
&nbsp;
<span style="color: #007800;">CURRENTPATH</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-e</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-e</span> openssl-<span style="color: #800000;">${VERSION}</span>.tar.gz <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Downloading openssl-<span style="color: #007800;">${VERSION}</span>.tar.gz&quot;</span>
    curl <span style="color: #660033;">-O</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.openssl.org<span style="color: #000000; font-weight: bold;">/</span>source<span style="color: #000000; font-weight: bold;">/</span>openssl-<span style="color: #800000;">${VERSION}</span>.tar.gz
<span style="color: #000000; font-weight: bold;">else</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Using openssl-<span style="color: #007800;">${VERSION}</span>.tar.gz&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/src&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxf openssl-<span style="color: #800000;">${VERSION}</span>.tar.gz <span style="color: #660033;">-C</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/src&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/src/openssl-<span style="color: #007800;">${VERSION}</span>&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">############</span>
<span style="color: #666666; font-style: italic;"># iPhone Simulator</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Building openssl for iPhoneSimulator <span style="color: #007800;">${SDKVERSION}</span> i386&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Please stand by...&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneSimulator<span style="color: #007800;">${SDKVERSION}</span>.sdk&quot;</span>
&nbsp;
<span style="color: #007800;">LOG</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneSimulator<span style="color: #007800;">${SDKVERSION}</span>.sdk/build-openssl-<span style="color: #007800;">${VERSION}</span>.log&quot;</span>
&nbsp;
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneSimulator<span style="color: #007800;">${SDKVERSION}</span>.sdk&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #666666; font-style: italic;"># add -isysroot to CC=</span>
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ie</span> <span style="color: #ff0000;">&quot;s!^CFLAG=!CFLAG=-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator<span style="color: #007800;">${SDKVERSION}</span>.sdk !&quot;</span> <span style="color: #ff0000;">&quot;Makefile&quot;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> clean <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #666666; font-style: italic;">#############</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#############</span>
<span style="color: #666666; font-style: italic;"># iPhoneOS armv6</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Building openssl for iPhoneOS <span style="color: #007800;">${SDKVERSION}</span> armv6&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Please stand by...&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv6&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>-armv6.sdk&quot;</span>
&nbsp;
<span style="color: #007800;">LOG</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>-armv6.sdk/build-openssl-<span style="color: #007800;">${VERSION}</span>.log&quot;</span>
&nbsp;
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>-armv6.sdk&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ie</span> <span style="color: #ff0000;">&quot;s!^CFLAG=!CFLAG=-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>.sdk !&quot;</span> <span style="color: #ff0000;">&quot;Makefile&quot;</span>
<span style="color: #666666; font-style: italic;"># remove sig_atomic for iPhoneOS</span>
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ie</span> <span style="color: #ff0000;">&quot;s!static volatile sig_atomic_t intr_signal;!static volatile intr_signal;!&quot;</span> <span style="color: #ff0000;">&quot;crypto/ui/ui_openssl.c&quot;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> clean <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #666666; font-style: italic;">#############</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#############</span>
<span style="color: #666666; font-style: italic;"># iPhoneOS armv7</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Building openssl for iPhoneOS <span style="color: #007800;">${SDKVERSION}</span> armv7&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Please stand by...&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>-armv7.sdk&quot;</span>
&nbsp;
<span style="color: #007800;">LOG</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>-armv7.sdk/build-openssl-<span style="color: #007800;">${VERSION}</span>.log&quot;</span>
&nbsp;
&nbsp;
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CURRENTPATH}</span>/bin/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>-armv7.sdk&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ie</span> <span style="color: #ff0000;">&quot;s!^CFLAG=!CFLAG=-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS<span style="color: #007800;">${SDKVERSION}</span>.sdk !&quot;</span> <span style="color: #ff0000;">&quot;Makefile&quot;</span>
<span style="color: #666666; font-style: italic;"># remove sig_atomic for iPhoneOS</span>
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ie</span> <span style="color: #ff0000;">&quot;s!static volatile sig_atomic_t intr_signal;!static volatile intr_signal;!&quot;</span> <span style="color: #ff0000;">&quot;crypto/ui/ui_openssl.c&quot;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> clean <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOG}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
<span style="color: #666666; font-style: italic;">#############</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Build library...&quot;</span>
lipo <span style="color: #660033;">-create</span> <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator<span style="color: #800000;">${SDKVERSION}</span>.sdk<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS<span style="color: #800000;">${SDKVERSION}</span>-armv6.sdk<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS<span style="color: #800000;">${SDKVERSION}</span>-armv7.sdk<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: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>libssl.a
&nbsp;
lipo <span style="color: #660033;">-create</span> <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator<span style="color: #800000;">${SDKVERSION}</span>.sdk<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS<span style="color: #800000;">${SDKVERSION}</span>-armv6.sdk<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS<span style="color: #800000;">${SDKVERSION}</span>-armv7.sdk<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: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>libcrypto.a
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>include
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-R</span> <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator<span style="color: #800000;">${SDKVERSION}</span>.sdk<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>openssl <span style="color: #800000;">${CURRENTPATH}</span><span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Building done.&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/12/16/tutorial-script-for-building-openssl-for-ios-iphoneipad/feed/</wfw:commentRss>
		<slash:comments>4</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>Thunderbird OS X Adressbuch Edititon 2.0.0.23</title>
		<link>http://www.x2on.de/2009/12/12/thunderbird-os-x-adressbuch-edititon-2-0-0-23/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thunderbird-os-x-adressbuch-edititon-2-0-0-23</link>
		<comments>http://www.x2on.de/2009/12/12/thunderbird-os-x-adressbuch-edititon-2-0-0-23/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 10:47:30 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Adressbuch]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=403</guid>
		<description><![CDATA[Aufgrund einiger Anfragen habe ich mich dazu entschlossen eine neuere Thunderbird OS X Adressbuch Edititon zu veröffentlichen. Download (Intel): https://sourceforge.net/projects/thunderbird-osx/files/ Wer sich seine eigene Version erstellen will: http://www.x2on.de/2008/03/27/mac-os-x-adressbuch-in-thunderbird-integrieren/]]></description>
			<content:encoded><![CDATA[<p>Aufgrund einiger Anfragen habe ich mich dazu entschlossen eine neuere Thunderbird OS X Adressbuch Edititon zu veröffentlichen.</p>
<p>Download (Intel): <a href="https://sourceforge.net/projects/thunderbird-osx/files/">https://sourceforge.net/projects/thunderbird-osx/files/</a></p>
<p>Wer sich seine eigene Version erstellen will:<br />
<a href="http://www.x2on.de/2008/03/27/mac-os-x-adressbuch-in-thunderbird-integrieren/">http://www.x2on.de/2008/03/27/mac-os-x-adressbuch-in-thunderbird-integrieren/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/12/12/thunderbird-os-x-adressbuch-edititon-2-0-0-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird 3.0 Beta 4 und OS X</title>
		<link>http://www.x2on.de/2009/10/10/thunderbird-3-0-beta-4-und-os-x/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thunderbird-3-0-beta-4-und-os-x</link>
		<comments>http://www.x2on.de/2009/10/10/thunderbird-3-0-beta-4-und-os-x/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 18:46:23 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Adressbuch]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Enigmail]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=297</guid>
		<description><![CDATA[Thunderbird unterstützt nun mit der Version 3.0 endlich das Mac OS X Adressbuch. Die von mir zur Verfügung gestellten Thunderbird 2.x Versionen mit einem Patch, um das Adressbuch von Mac OS X zugänglich zu machen, werden dadurch nicht mehr benötigt. Ich empfehle allen Anwendern einen Umstieg auf Thunderbird 3.0. Trotz Beta-Status macht die neue Version [...]]]></description>
			<content:encoded><![CDATA[<p>Thunderbird unterstützt nun mit der Version 3.0 endlich das Mac OS X Adressbuch. Die von mir zur Verfügung gestellten Thunderbird 2.x Versionen mit einem Patch, um das Adressbuch von Mac OS X zugänglich zu machen, werden dadurch nicht mehr benötigt. Ich empfehle allen Anwendern einen Umstieg auf Thunderbird 3.0. Trotz Beta-Status macht die neue Version einen sehr guten Eindruck, und fast alle Addons sind mittlerweile auch für diese Version verfügbar (für Enigmail gibt es eine Vorabversion).</p>
<p>Links:<br />
<a href="http://www.mozillamessaging.com/en-US/thunderbird/early_releases/downloads/" target="_blank">Thunderbird 3.0 Beta 4</a><br />
<a href="http://enigmail.mozdev.org/download/nightly.php" target="_blank">Enigmail Vorabversion</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/10/10/thunderbird-3-0-beta-4-und-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird OS X Adressbuch Edititon 2.0.0.21</title>
		<link>http://www.x2on.de/2009/04/22/thunderbird-os-x-adressbuch-edititon-20021/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thunderbird-os-x-adressbuch-edititon-20021</link>
		<comments>http://www.x2on.de/2009/04/22/thunderbird-os-x-adressbuch-edititon-20021/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 18:49:20 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Adressbuch]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PowerPC]]></category>
		<category><![CDATA[PPC]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=269</guid>
		<description><![CDATA[Unter Projekte findet sich nun die Thunderbird 2.0.0.21 OS X Adressbuch Edititon als DMG-Image für PowerPC-Mac’s. Wer sich selbst ein Thunderbird-Version mit integriertem OS X Adressbuch erstellen will, findet hier eine Anleitung: http://www.x2on.de/2008/03/27/mac-os-x-adressbuch-in-thunderbird-integrieren/]]></description>
			<content:encoded><![CDATA[<p>Unter Projekte findet sich nun die Thunderbird 2.0.0.21 OS X Adressbuch Edititon als DMG-Image für PowerPC-Mac’s.</p>
<p><span id="more-269"></span>Wer sich selbst ein Thunderbird-Version mit integriertem OS X Adressbuch erstellen will, findet hier eine Anleitung: <a href="http://www.x2on.de/2008/03/27/mac-os-x-adressbuch-in-thunderbird-integrieren/"></p>
<p>http://www.x2on.de/2008/03/27/mac-os-x-adressbuch-in-thunderbird-integrieren/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/04/22/thunderbird-os-x-adressbuch-edititon-20021/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird OS X Adressbuch Edititon 2.0.0.18</title>
		<link>http://www.x2on.de/2008/11/24/thunderbird-os-x-adressbuch-edititon-20018/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thunderbird-os-x-adressbuch-edititon-20018</link>
		<comments>http://www.x2on.de/2008/11/24/thunderbird-os-x-adressbuch-edititon-20018/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 15:30:33 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=181</guid>
		<description><![CDATA[Unter Projekte findet sich nun die Thunderbird 2.0.0.17 OS X Adressbuch Edititon als DMG-Image für Intel-Mac&#8217;s.]]></description>
			<content:encoded><![CDATA[<p>Unter Projekte findet sich nun die Thunderbird 2.0.0.17 OS X Adressbuch Edititon als DMG-Image für Intel-Mac&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2008/11/24/thunderbird-os-x-adressbuch-edititon-20018/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird OS X Adressbuch Edititon 2.0.0.17</title>
		<link>http://www.x2on.de/2008/09/27/thunderbird-os-x-adressbuch-edititon-20017/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thunderbird-os-x-adressbuch-edititon-20017</link>
		<comments>http://www.x2on.de/2008/09/27/thunderbird-os-x-adressbuch-edititon-20017/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 08:17:30 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://localhost/dev/?p=143</guid>
		<description><![CDATA[Unter Projekte findet sich nun die Thunderbird 2.0.0.17 OS X Adressbuch Edititon als DMG-Image und als Source zum Download.]]></description>
			<content:encoded><![CDATA[<p>Unter Projekte findet sich nun die Thunderbird 2.0.0.17 OS X Adressbuch Edititon als DMG-Image und als Source zum Download.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2008/09/27/thunderbird-os-x-adressbuch-edititon-20017/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

