Adjust to ObjFW changes

This commit is contained in:
Jonathan Schleifer 2020-05-06 02:37:29 +02:00
parent 86ced1769a
commit ab66f12bfe
No known key found for this signature in database
GPG key ID: E2BCCE6B35E1AF8B
2 changed files with 14 additions and 19 deletions

View file

@ -42,16 +42,14 @@ OF_ASSUME_NONNULL_BEGIN
SSL *_SSL;
OFString *_certificateFile, *_privateKeyFile;
const char *_privateKeyPassphrase;
bool _certificateVerificationEnabled;
bool _requestClientCertificatesEnabled;
bool _verifiesCertificates, _requestsClientCertificates;
}
@property (nonatomic, getter=isRequestClientCertificatesEnabled)
bool requestClientCertificatesEnabled;
@property (nonatomic) bool requestsClientCertificates;
@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
X509Certificate *peerCertificate;
- initWithSocket: (OFTCPSocket *)socket;
- (instancetype)initWithSocket: (OFTCPSocket *)socket;
- (OFData *)channelBindingDataWithType: (OFString *)type;
- (nullable X509Certificate *)peerCertificate;
- (void)verifyPeerCertificate;