Fix compilation with GCC
This commit is contained in:
parent
2905f7cd66
commit
2ef2132444
3 changed files with 4 additions and 3 deletions
|
@ -53,10 +53,10 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
verifyResult: (long)verifyResult;
|
||||
- initWithHost: (OFString *)host
|
||||
port: (uint16_t)port
|
||||
socket: (SSLSocket *)socket OF_UNAVAILABLE;
|
||||
socket: (id)socket OF_UNAVAILABLE;
|
||||
- initWithHost: (OFString *)host
|
||||
port: (uint16_t)port
|
||||
socket: (SSLSocket *)socket
|
||||
socket: (id)socket
|
||||
errNo: (int)errNo OF_UNAVAILABLE;
|
||||
- initWithHost: (OFString *)host
|
||||
port: (uint16_t)port
|
||||
|
|
|
@ -33,6 +33,7 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
@interface SSLSocket: OFTCPSocket <OFTLSSocket>
|
||||
{
|
||||
SSL *_SSL;
|
||||
id <OFTLSSocketDelegate> _delegate;
|
||||
OFString *_certificateFile, *_privateKeyFile;
|
||||
const char *_privateKeyPassphrase;
|
||||
bool _certificateVerificationEnabled;
|
||||
|
|
|
@ -97,7 +97,7 @@ locking_callback(int mode, int n, const char *file, int line)
|
|||
@implementation SSLSocket
|
||||
@synthesize delegate = _delegate, certificateFile = _certificateFile;
|
||||
@synthesize privateKeyFile = _privateKeyFile;
|
||||
@synthesize privateKeyPassphrase = privateKeyPassphrase;
|
||||
@synthesize privateKeyPassphrase = _privateKeyPassphrase;
|
||||
@synthesize certificateVerificationEnabled = _certificateVerificationEnabled;
|
||||
@synthesize requestClientCertificatesEnabled =
|
||||
_requestClientCertificatesEnabled;
|
||||
|
|
Reference in a new issue