@@ -29,16 +29,16 @@ @interface SSLSocket: OFTCPSocket { SSL *_SSL; OFString *_privateKeyFile, *_certificateFile; - BOOL _requestsClientCertificates; + bool _requestsClientCertificates; } #ifdef OF_HAVE_PROPERTIES @property (copy) OFString *privateKeyFile, *certificateFile; -@property BOOL requestsClientCertificates; +@property bool requestsClientCertificates; #endif - initWithSocket: (OFTCPSocket*)socket; - initWithSocket: (OFTCPSocket*)socket privateKeyFile: (OFString*)privateKeyFile @@ -47,11 +47,11 @@ - (SSLSocket*)accept; /* Changes the return type */ - (void)setPrivateKeyFile: (OFString*)file; - (OFString*)privateKeyFile; - (void)setCertificateFile: (OFString*)file; - (OFString*)certificateFile; -- (void)setRequestsClientCertificates: (BOOL)enabled; -- (BOOL)requestsClientCertificates; +- (void)setRequestsClientCertificates: (bool)enabled; +- (bool)requestsClientCertificates; - (OFDataArray*)channelBindingDataWithType: (OFString*)type; - (X509Certificate*)peerCertificate; - (void)verifyPeerCertificate; @end