Skip to content

Commit

Permalink
OpenSSL 1.0.0a with iOS4 as base SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
x2on committed Jun 30, 2010
1 parent fe3a22b commit 70300c7
Show file tree
Hide file tree
Showing 87 changed files with 6,073 additions and 3,414 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//
// OpenSSL_1AppDelegate.h
// OpenSSL-1
// OpenSSL_for_iPhoneAppDelegate.h
// OpenSSL-for-iPhone
//
// Created by Felix Schulze on 01.02.2010.
// Copyright Felix Schulze 2010. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface OpenSSL_1AppDelegate : NSObject <UIApplicationDelegate> {
@interface OpenSSL_for_iPhoneAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
//
// OpenSSL_1AppDelegate.m
// OpenSSL-1
// OpenSSL_for_iPhoneAppDelegate.m
// OpenSSL-for-iPhone
//
// Created by Felix Schulze on 01.02.2010.
// Created by Felix Schulze on 30.06.2010.
// Copyright Felix Schulze 2010. All rights reserved.
//

#import "OpenSSL_1AppDelegate.h"
#import "OpenSSL_for_iPhoneAppDelegate.h"
#include <Openssl/md5.h>

@implementation OpenSSL_1AppDelegate
@implementation OpenSSL_for_iPhoneAppDelegate

@synthesize window;

UITextField *textView;
UILabel *label;

- (void)applicationDidFinishLaunching:(UIApplication *)application {
#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

UINavigationBar *navBar = [[UINavigationBar alloc] initWithFrame:
CGRectMake( 0.0f, 20.0f, window.frame.size.width, 48.0f)];
Expand Down Expand Up @@ -59,6 +62,8 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application {
[textView release];
[label release];
[button release];

return YES;
}

- (void)action:(id)sender
Expand All @@ -79,17 +84,62 @@ - (void)action:(id)sender
[label setText:outStrg];
}



- (void) infoView
{

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"OpenSSL-Test" message:@"Copyright 2010 by Felix Schulze\n http://www.x2on.de" delegate:nil cancelButtonTitle:@"Close" otherButtonTitles:nil];

[alert show];
[alert release];
}


- (void)applicationWillResignActive:(UIApplication *)application {
/*
Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
*/
}


- (void)applicationDidEnterBackground:(UIApplication *)application {
/*
Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
*/
}


- (void)applicationWillEnterForeground:(UIApplication *)application {
/*
Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background.
*/
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
/*
Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
*/
}


- (void)applicationWillTerminate:(UIApplication *)application {
/*
Called when the application is about to terminate.
See also applicationDidEnterBackground:.
*/
}


#pragma mark -
#pragma mark Memory management

- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
/*
Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
*/
}


- (void)dealloc {
[window release];
Expand Down
35 changes: 21 additions & 14 deletions MainWindow.xib
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">784</int>
<string key="IBDocument.SystemVersion">10A394</string>
<string key="IBDocument.InterfaceBuilderVersion">732</string>
<string key="IBDocument.AppKitVersion">1027.1</string>
<string key="IBDocument.HIToolboxVersion">430.00</string>
<int key="IBDocument.SystemTarget">800</int>
<string key="IBDocument.SystemVersion">10D540</string>
<string key="IBDocument.InterfaceBuilderVersion">760</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">460.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">60</string>
<string key="NS.object.0">81</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand All @@ -31,11 +31,15 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="841351856">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="427554174">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUICustomObject" id="664661524">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUICustomObject" id="664661524"/>
<object class="IBUIWindow" id="380026005">
<reference key="NSNextResponder"/>
<int key="NSvFlags">1316</int>
Expand All @@ -49,6 +53,8 @@
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIResizesToFullScreen">YES</bool>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
Expand Down Expand Up @@ -129,9 +135,9 @@
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<string>{{438, 320}, {320, 480}}</string>
<string>{{198, 376}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>OpenSSL_1AppDelegate</string>
<string>OpenSSL_for_iPhoneAppDelegate</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
Expand All @@ -157,19 +163,19 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">OpenSSL_1AppDelegate</string>
<string key="className">OpenSSL_for_iPhoneAppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">window</string>
<string key="NS.object.0">UIWindow</string>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/OpenSSL_1AppDelegate.h</string>
<string key="minorKey">Classes/OpenSSL_for_iPhoneAppDelegate.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">OpenSSL_1AppDelegate</string>
<string key="className">OpenSSL_for_iPhoneAppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBUserSource</string>
Expand All @@ -179,13 +185,14 @@
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
<integer value="3100" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">OpenSSL-1.xcodeproj</string>
<string key="IBDocument.LastKnownRelativeProjectPath">OpenSSL-for-iPhone.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">3.1</string>
<string key="IBCocoaTouchPluginVersion">81</string>
</data>
</archive>
Loading

0 comments on commit 70300c7

Please sign in to comment.