ObjFW  Check-in [d36cd2947f]

Overview
Comment:Minor cleanup for Secure Transport support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d36cd2947f9b5071908b67bcab3353cb0a44b3416c0f44da209bc664383f4617
User & Date: js on 2021-12-04 14:00:30
Other Links: manifest | tags
Context
2021-12-04
20:43
forwarding-powerpc-elf.S: Fix typo check-in: 173b2bbe78 user: js tags: trunk
14:00
Minor cleanup for Secure Transport support check-in: d36cd2947f user: js tags: trunk
02:30
objfw.spec: Fix warning about files listed twice check-in: bc28b9aa0d user: js tags: trunk
Changes

Modified src/tls/OFSecureTransportTLSStream.h from [af37f6a50a] to [b18eaffdb8].

11
12
13
14
15
16
17


18
19
20
21
22
23
24
25
26
27
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "OFTLSStream.h"



OF_ASSUME_NONNULL_BEGIN

@interface OFSecureTransportTLSStream: OFTLSStream <OFStreamDelegate>
{
	struct SSLContext *_context;
	OFString *_host;
}
@end

OF_ASSUME_NONNULL_END







>
>




|





11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "OFTLSStream.h"

#include <Security/SecureTransport.h>

OF_ASSUME_NONNULL_BEGIN

@interface OFSecureTransportTLSStream: OFTLSStream <OFStreamDelegate>
{
	SSLContextRef _context;
	OFString *_host;
}
@end

OF_ASSUME_NONNULL_END

Modified src/tls/OFSecureTransportTLSStream.m from [446883c227] to [b0e8b99bd3].

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 * file.
 */

#include "config.h"

#import "OFSecureTransportTLSStream.h"

#include <Security/SecureTransport.h>

#import "OFAlreadyConnectedException.h"
#import "OFNotOpenException.h"
#import "OFReadFailedException.h"
#import "OFTLSHandshakeFailedException.h"
#import "OFWriteFailedException.h"

int _ObjFWTLS_reference;







<
<







13
14
15
16
17
18
19


20
21
22
23
24
25
26
 * file.
 */

#include "config.h"

#import "OFSecureTransportTLSStream.h"



#import "OFAlreadyConnectedException.h"
#import "OFNotOpenException.h"
#import "OFReadFailedException.h"
#import "OFTLSHandshakeFailedException.h"
#import "OFWriteFailedException.h"

int _ObjFWTLS_reference;