diff --git a/OpenSSL-1.xcodeproj/x2on.mode1v3 b/OpenSSL-1.xcodeproj/x2on.mode1v3
index 91892d1..7eeacdb 100644
--- a/OpenSSL-1.xcodeproj/x2on.mode1v3
+++ b/OpenSSL-1.xcodeproj/x2on.mode1v3
@@ -276,11 +276,13 @@
PBXSmartGroupTreeModuleOutlineStateSelectionKey
+ 9
+ 7
0
PBXSmartGroupTreeModuleOutlineStateVisibleRectKey
- {{0, 0}, {186, 1064}}
+ {{0, 0}, {186, 727}}
PBXTopSmartGroupGIDs
@@ -292,14 +294,14 @@
GeometryConfiguration
Frame
- {{0, 0}, {203, 1082}}
+ {{0, 0}, {203, 745}}
GroupTreeTableConfiguration
MainColumn
186
RubberWindowFrame
- 43 55 1877 1123 0 0 1920 1178
+ 344 195 1280 786 0 0 1920 1178
Module
PBXSmartGroupTreeModule
@@ -327,15 +329,15 @@
_historyCapacity
0
bookmark
- 2A958F33111B0ABA005357FF
+ 2A0C1BD111621A4600885C03
history
2A3475B0111725A3007C3F01
2A191D4E111734250052E5A8
- 2A958F2F111B0ABA005357FF
- 2A958F30111B0ABA005357FF
- 2A958F31111B0ABA005357FF
- 2A958F32111B0ABA005357FF
+ 2A0C1BCD11621A4600885C03
+ 2A0C1BCE11621A4600885C03
+ 2A0C1BCF11621A4600885C03
+ 2AD8794D113D9EB000EDB9AF
SplitCount
@@ -347,14 +349,14 @@
GeometryConfiguration
Frame
- {{0, 0}, {1669, 872}}
+ {{0, 0}, {1072, 630}}
RubberWindowFrame
- 43 55 1877 1123 0 0 1920 1178
+ 344 195 1280 786 0 0 1920 1178
Module
PBXNavigatorGroup
Proportion
- 872pt
+ 630pt
ContentConfiguration
@@ -367,18 +369,18 @@
GeometryConfiguration
Frame
- {{0, 877}, {1669, 205}}
+ {{0, 635}, {1072, 110}}
RubberWindowFrame
- 43 55 1877 1123 0 0 1920 1178
+ 344 195 1280 786 0 0 1920 1178
Module
XCDetailModule
Proportion
- 205pt
+ 110pt
Proportion
- 1669pt
+ 1072pt
Name
@@ -393,9 +395,9 @@
TableOfContents
- 2A958F34111B0ABA005357FF
+ 2A0C1BB911621A1D00885C03
1CE0B1FE06471DED0097A5F4
- 2A958F35111B0ABA005357FF
+ 2A0C1BBA11621A1D00885C03
1CE0B20306471E060097A5F4
1CE0B20506471E060097A5F4
@@ -533,11 +535,13 @@
5
WindowOrderList
+ 1C78EAAD065D492600B07095
+ 1CD10A99069EF8BA00B06720
2A347546111721AA007C3F01
/Users/x2on/Projects/iphone/OpenSSL-for-iPhone/OpenSSL-1.xcodeproj
WindowString
- 43 55 1877 1123 0 0 1920 1178
+ 344 195 1280 786 0 0 1920 1178
WindowToolsV3
@@ -614,7 +618,7 @@
TableOfContents
2A347546111721AA007C3F01
- 2A958F36111B0ABA005357FF
+ 2A0C1BBB11621A1D00885C03
1CD0528F0623707200166675
XCMainBuildResultsModuleGUID
@@ -658,8 +662,8 @@
yes
sizes
- {{0, 0}, {316, 201}}
- {{316, 0}, {378, 201}}
+ {{0, 0}, {316, 202}}
+ {{316, 0}, {378, 202}}
VerticalSplitView
@@ -674,8 +678,8 @@
yes
sizes
- {{0, 0}, {694, 201}}
- {{0, 201}, {694, 180}}
+ {{0, 0}, {694, 202}}
+ {{0, 202}, {694, 179}}
@@ -708,7 +712,7 @@
148
Frame
- {{316, 0}, {378, 201}}
+ {{316, 0}, {378, 202}}
RubberWindowFrame
111 617 694 422 0 0 1920 1178
@@ -736,13 +740,13 @@
TableOfContents
1CD10A99069EF8BA00B06720
- 2A95BFC311173BE400229148
+ 2A0C1BBC11621A1D00885C03
1C162984064C10D400B95A72
- 2A95BFC411173BE400229148
- 2A95BFC511173BE400229148
- 2A95BFC611173BE400229148
- 2A95BFC711173BE400229148
- 2A95BFC811173BE400229148
+ 2A0C1BBD11621A1D00885C03
+ 2A0C1BBE11621A1D00885C03
+ 2A0C1BBF11621A1D00885C03
+ 2A0C1BC011621A1D00885C03
+ 2A0C1BC111621A1D00885C03
ToolbarConfiguration
xcode.toolbar.config.debugV3
@@ -904,7 +908,7 @@
TableOfContents
1C78EAAD065D492600B07095
- 2A95BFC911173BE400229148
+ 2A0C1BC211621A1D00885C03
1C78EAAC065D492600B07095
ToolbarConfiguration
diff --git a/OpenSSL-1.xcodeproj/x2on.pbxuser b/OpenSSL-1.xcodeproj/x2on.pbxuser
index 82e8e9d..6f1001e 100644
--- a/OpenSSL-1.xcodeproj/x2on.pbxuser
+++ b/OpenSSL-1.xcodeproj/x2on.pbxuser
@@ -10,9 +10,9 @@
};
1D3623250D0F684500981E51 /* OpenSSL_1AppDelegate.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1608, 1209}}";
- sepNavSelRange = "{1389, 235}";
- sepNavVisRange = "{0, 2059}";
+ sepNavIntBoundsRect = "{{0, 0}, {1433, 1313}}";
+ sepNavSelRange = "{208, 0}";
+ sepNavVisRange = "{1925, 931}";
};
};
1D6058900D05DD3D006BFB54 /* OpenSSL-1 */ = {
@@ -24,6 +24,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
activeBuildConfigurationName = Debug;
activeExecutable = 2A347539111721A9007C3F01 /* OpenSSL-1 */;
+ activeSDKPreference = iphonesimulator3.1.3;
activeTarget = 1D6058900D05DD3D006BFB54 /* OpenSSL-1 */;
addToTargets = (
1D6058900D05DD3D006BFB54 /* OpenSSL-1 */,
@@ -38,7 +39,7 @@
PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID;
PBXFileTableDataSourceColumnWidthsKey = (
20,
- 1430,
+ 833,
20,
48,
43,
@@ -77,17 +78,17 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 286984855;
- PBXWorkspaceStateSaveDate = 286984855;
+ PBXPerProjectTemplateStateSaveDate = 291641863;
+ PBXWorkspaceStateSaveDate = 291641863;
};
perUserProjectItems = {
+ 2A0C1BCD11621A4600885C03 /* PBXTextBookmark */ = 2A0C1BCD11621A4600885C03 /* PBXTextBookmark */;
+ 2A0C1BCE11621A4600885C03 /* PBXTextBookmark */ = 2A0C1BCE11621A4600885C03 /* PBXTextBookmark */;
+ 2A0C1BCF11621A4600885C03 /* PBXTextBookmark */ = 2A0C1BCF11621A4600885C03 /* PBXTextBookmark */;
+ 2A0C1BD111621A4600885C03 /* PlistBookmark */ = 2A0C1BD111621A4600885C03 /* PlistBookmark */;
2A191D4E111734250052E5A8 /* PBXTextBookmark */ = 2A191D4E111734250052E5A8 /* PBXTextBookmark */;
2A3475B0111725A3007C3F01 /* PBXTextBookmark */ = 2A3475B0111725A3007C3F01 /* PBXTextBookmark */;
- 2A958F2F111B0ABA005357FF /* PBXTextBookmark */ = 2A958F2F111B0ABA005357FF /* PBXTextBookmark */;
- 2A958F30111B0ABA005357FF /* PBXTextBookmark */ = 2A958F30111B0ABA005357FF /* PBXTextBookmark */;
- 2A958F31111B0ABA005357FF /* PBXTextBookmark */ = 2A958F31111B0ABA005357FF /* PBXTextBookmark */;
- 2A958F32111B0ABA005357FF /* PBXBookmark */ = 2A958F32111B0ABA005357FF /* PBXBookmark */;
- 2A958F33111B0ABA005357FF /* PlistBookmark */ = 2A958F33111B0ABA005357FF /* PlistBookmark */;
+ 2AD8794D113D9EB000EDB9AF /* PlistBookmark */ = 2AD8794D113D9EB000EDB9AF /* PlistBookmark */;
};
sourceControlManager = 2A347548111721AA007C3F01 /* Source Control */;
userBuildSettings = {
@@ -95,11 +96,52 @@
};
29B97316FDCFA39411CA2CEA /* main.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1608, 840}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1011, 598}}";
sepNavSelRange = "{158, 0}";
sepNavVisRange = "{0, 363}";
};
};
+ 2A0C1BCD11621A4600885C03 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623250D0F684500981E51 /* OpenSSL_1AppDelegate.m */;
+ name = "OpenSSL_1AppDelegate.m: 11";
+ rLen = 0;
+ rLoc = 208;
+ rType = 0;
+ vrLen = 931;
+ vrLoc = 1925;
+ };
+ 2A0C1BCE11621A4600885C03 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 32CA4F630368D1EE00C91783 /* OpenSSL_1_Prefix.pch */;
+ name = "OpenSSL_1_Prefix.pch: 1";
+ rLen = 0;
+ rLoc = 0;
+ rType = 0;
+ vrLen = 187;
+ vrLoc = 0;
+ };
+ 2A0C1BCF11621A4600885C03 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 29B97316FDCFA39411CA2CEA /* main.m */;
+ name = "main.m: 10";
+ rLen = 0;
+ rLoc = 158;
+ rType = 0;
+ vrLen = 363;
+ vrLoc = 0;
+ };
+ 2A0C1BD111621A4600885C03 /* PlistBookmark */ = {
+ isa = PlistBookmark;
+ fRef = 8D1107310486CEB800E47090 /* OpenSSL_1-Info.plist */;
+ fallbackIsa = PBXBookmark;
+ isK = 0;
+ kPath = (
+ );
+ name = "/Users/x2on/Projects/iphone/OpenSSL-for-iPhone/OpenSSL_1-Info.plist";
+ rLen = 0;
+ rLoc = 9223372036854775807;
+ };
2A191D4E111734250052E5A8 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 1D3623240D0F684500981E51 /* OpenSSL_1AppDelegate.h */;
@@ -169,41 +211,7 @@
path = /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h;
sourceTree = "";
};
- 2A958F2F111B0ABA005357FF /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 1D3623250D0F684500981E51 /* OpenSSL_1AppDelegate.m */;
- name = "OpenSSL_1AppDelegate.m: 43";
- rLen = 235;
- rLoc = 1389;
- rType = 0;
- vrLen = 2059;
- vrLoc = 0;
- };
- 2A958F30111B0ABA005357FF /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 29B97316FDCFA39411CA2CEA /* main.m */;
- name = "main.m: 10";
- rLen = 0;
- rLoc = 158;
- rType = 0;
- vrLen = 363;
- vrLoc = 0;
- };
- 2A958F31111B0ABA005357FF /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 32CA4F630368D1EE00C91783 /* OpenSSL_1_Prefix.pch */;
- name = "OpenSSL_1_Prefix.pch: 1";
- rLen = 0;
- rLoc = 0;
- rType = 0;
- vrLen = 187;
- vrLoc = 0;
- };
- 2A958F32111B0ABA005357FF /* PBXBookmark */ = {
- isa = PBXBookmark;
- fRef = 8D1107310486CEB800E47090 /* OpenSSL_1-Info.plist */;
- };
- 2A958F33111B0ABA005357FF /* PlistBookmark */ = {
+ 2AD8794D113D9EB000EDB9AF /* PlistBookmark */ = {
isa = PlistBookmark;
fRef = 8D1107310486CEB800E47090 /* OpenSSL_1-Info.plist */;
fallbackIsa = PBXBookmark;
@@ -212,11 +220,11 @@
);
name = "/Users/x2on/Projects/iphone/OpenSSL-for-iPhone/OpenSSL_1-Info.plist";
rLen = 0;
- rLoc = 9223372036854775807;
+ rLoc = 9223372036854775808;
};
32CA4F630368D1EE00C91783 /* OpenSSL_1_Prefix.pch */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1608, 840}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1011, 598}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 187}";
};
diff --git a/README b/README
index 047c557..714e6e5 100644
--- a/README
+++ b/README
@@ -1,17 +1,18 @@
From: http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/
+UPDATE 2010-03-31: I have updated OpenSSL to 0.9.8n
UPDATE 2010-02-26: I have updated OpenSSL to 0.9.8m
-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 (0.9.8m-beta1).
+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 (0.9.8n).
Create OpenSSL Libary:
* Download OpenSSL Sourcecode
* Build OpenSSL for i368 iPhoneSimulator:
- o cd openssl-0.9.8m
+ o cd openssl-0.9.8n
mkdir openssl_arm
mkdir openssl_i386
- ./config --openssldir=/Users/
+ ./config --openssldir=/PathtoOpenSSL/openssl_i386
o Edit Makefile:
+ Change CC = cc to:
@@ -20,7 +21,7 @@ Create OpenSSL Libary:
+ Add as first item to CFLAG:
- -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk
+ -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk
o Change in crypto/ui/ui_openssl.c
@@ -53,11 +54,11 @@ Create OpenSSL Libary:
+ Change
- -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk
+ -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk
to
- -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk
+ -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk
o Build it:
make
@@ -81,4 +82,4 @@ Edit your iPhone-XCode project:
Enjoy OpenSSL on the iPhone!
-I have made an iPhone OS 3.1.2 XCode Project with OpenSSL 0.9.8m (Beta1) Libaries. The examples uses the MD5-algorithm to calculate an md5 hash from an UITextfield.
\ No newline at end of file
+I have made an iPhone OS 3.1.3 XCode Project with OpenSSL 0.9.8n Libaries. The examples uses the MD5-algorithm to calculate an md5 hash from an UITextfield.
\ No newline at end of file
diff --git a/libcrypto_arm.a b/libcrypto_arm.a
index c47d598..0f7b7d7 100644
Binary files a/libcrypto_arm.a and b/libcrypto_arm.a differ
diff --git a/libcrypto_i386.a b/libcrypto_i386.a
index 399a285..41fe620 100644
Binary files a/libcrypto_i386.a and b/libcrypto_i386.a differ
diff --git a/libssl_arm.a b/libssl_arm.a
index 824ef21..4f33a8c 100644
Binary files a/libssl_arm.a and b/libssl_arm.a differ
diff --git a/libssl_i386.a b/libssl_i386.a
index 4a76ebf..3e09f75 100644
Binary files a/libssl_i386.a and b/libssl_i386.a differ