Skip to content

Commit d2cf5e7

Browse files
committed
Multiple changes that warrant version increase
- Incorporate SNI by Levente. - Cross - Introduce `SQSSL_VERSION` macro, currently 2 - Win32 - setting an `int` property via `sqSetIntPropertySSL(...)` - Unicode problems when extracting the correct peerName in `sqExtractPeerName` - Linux - Pick up changes by Levente from late 2014 - Mac OS X - Prepare for compilation on not-as-old OSXen - add iOS folder to mirror general Squeak VM `platform` layout
1 parent f439a4c commit d2cf5e7

File tree

6 files changed

+751
-466
lines changed

6 files changed

+751
-466
lines changed

src/Cross/SqueakSSL.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
#ifndef SqueakSSL_H
22
#define SqueakSSL_H
33

4+
/**********************************************************/
5+
/* SqueakSSL Version Information */
6+
/* Version 1: Inital version */
7+
/* Version 2: SNI support by Levente Uzonyi and help by */
8+
/* Marcel Taeumel and Tobias Pape */
9+
/**********************************************************/
10+
11+
12+
#define SQSSL_VERSION 2
13+
414
/*************************/
515
/* SSL connection states */
616
/*************************/
@@ -48,6 +58,7 @@
4858
/**********************************************/
4959
#define SQSSL_PROP_PEERNAME 0
5060
#define SQSSL_PROP_CERTNAME 1
61+
#define SQSSL_PROP_SERVERNAME 2
5162

5263
/* sqCreateSSL: Creates a new SSL instance.
5364
Arguments: None.

src/Mac OS/Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>English</string>
7+
<key>CFBundleExecutable</key>
8+
<string>SqueakSSL</string>
9+
<key>CFBundleIconFile</key>
10+
<string></string>
11+
<key>CFBundleIdentifier</key>
12+
<string>org.squeak.SqueakSSL</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleSignature</key>
18+
<string>FAST</string>
19+
<key>CFBundleVersion</key>
20+
<string>1.0</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>1.0</string>
23+
<key>CSResourcesFileMapped</key>
24+
<true/>
25+
</dict>
26+
</plist>

0 commit comments

Comments
 (0)