Skip to content

Commit

Permalink
Merge pull request #237 from x2on/OpenSSL-1.1.1v
Browse files Browse the repository at this point in the history
  • Loading branch information
x2on authored Aug 24, 2023
2 parents ab958d3 + 0e767e6 commit 9eb4071
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# OpenSSL-for-iOS [![Build Status](https://app.travis-ci.com/x2on/OpenSSL-for-iPhone.svg?branch=master)](https://app.travis-ci.com/x2on/OpenSSL-for-iPhone) [![license](https://img.shields.io/github/license/x2on/OpenSSL-for-iPhone.svg)](https://github.com/x2on/OpenSSL-for-iPhone/blob/master/LICENSE) [![OpenSSL version](https://img.shields.io/badge/OpenSSL-1.1.1u-lightgrey.svg)]() [![iOS support](https://img.shields.io/badge/iOS-12.0%20--%2016.2-lightgrey.svg)]() [![tvOS support](https://img.shields.io/badge/tvOS-12.0%20--%2016.2-lightgrey.svg)]() [![MacCatalyst support](https://img.shields.io/badge/MacCatalyst-15.6-lightgrey.svg)]()
# OpenSSL-for-iOS [![Build Status](https://app.travis-ci.com/x2on/OpenSSL-for-iPhone.svg?branch=master)](https://app.travis-ci.com/x2on/OpenSSL-for-iPhone) [![license](https://img.shields.io/github/license/x2on/OpenSSL-for-iPhone.svg)](https://github.com/x2on/OpenSSL-for-iPhone/blob/master/LICENSE) [![OpenSSL version](https://img.shields.io/badge/OpenSSL-1.1.1v-lightgrey.svg)]() [![iOS support](https://img.shields.io/badge/iOS-12.0%20--%2016.6-lightgrey.svg)]() [![tvOS support](https://img.shields.io/badge/tvOS-12.0%20--%2016.6-lightgrey.svg)]() [![MacCatalyst support](https://img.shields.io/badge/MacCatalyst-15.6-lightgrey.svg)]()



This is a script 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.

**Enjoy OpenSSL on the iPhone!**

You must build the OpenSSL-Libraries (1.1.1u) before running the sample with:
You must build the OpenSSL-Libraries (1.1.1v) before running the sample with:

```bash
./build-libssl.sh
Expand All @@ -22,10 +22,10 @@ For all options see the help
./build-libssl.sh --help
```

This repository contains an iOS 15.0 Xcode Project which uses the OpenSSL Libraries. The examples uses the MD5 or SHA256-algorithm to calculate an md5 or sha256 hash from an UITextfield.
This repository contains an iOS 16.0 Xcode Project which uses the OpenSSL Libraries. The examples uses the MD5 or SHA256-algorithm to calculate an md5 or sha256 hash from an UITextfield.

## System support
**iOS 12.0 - iOS 16.2 (x86_64 , arm64, arm64e bitcode), tvOS 12.0 - tvOS 16.2 (x86_64, arm64, bitcode), WatchOS 8 and MacCatalyst 15.6 (MacOSX_x86_64) are currently supported.**
**iOS 12.0 - iOS 16.6 (x86_64 , arm64, arm64e bitcode), tvOS 12.0 - tvOS 16.6 (x86_64, arm64, bitcode), WatchOS 8 and MacCatalyst 15.6 (MacOSX_x86_64) are currently supported.**

For iOS < 7.0 you must use Xcode < 7 and an older version of the build script.
For iOS < 12.0 you must use Xcode < 11 and an older version of the build script.
Expand All @@ -37,6 +37,7 @@ If you have problems building for arm64 please uninstall MacPorts (see [#28](htt
* <https://x2on.github.io/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/>

## Changelog
* 2023-08-21: OpenSSL 1.1.1v, iOS 16.6 support
* 2023-07-04: OpenSSL 1.1.1u
* 2023-02-09: OpenSSL 1.1.1t
* 2023-01-10: Xcode 14.2 support, iOS 16.2 support, SHA512 Example
Expand Down
2 changes: 1 addition & 1 deletion build-libssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -u
# SCRIPT DEFAULTS

# Default version in case no version is specified
DEFAULTVERSION="1.1.1u"
DEFAULTVERSION="1.1.1v"

# Default (=full) set of targets to build
DEFAULTTARGETS="ios-sim-cross-x86_64 ios-sim-cross-arm64 ios-cross-arm64 mac-catalyst-x86_64 mac-catalyst-arm64 tvos-sim-cross-x86_64 tvos-sim-cross-arm64 tvos-cross-arm64 watchos-sim-cross-x86_64 watchos-sim-cross-arm64 watchos-cross-armv7k watchos-cross-arm64_32"
Expand Down

0 comments on commit 9eb4071

Please sign in to comment.