@@ -144,7 +144,7 @@ + (void)initialize
144144 return self;
145145}
146146
147- - initWithSocket : (OFTCPSocket*)socket
147+ - initWithSocket : (OFTCPSocket *)socket
148148{
149149 self = [self init ];
150150
@@ -172,7 +172,7 @@ - (void)dealloc
172172 SSL_free (SSL_);
173173}
174174
175- - (void )SSL_startTLSWithExpectedHost : (OFString*)host
175+ - (void )SSL_startTLSWithExpectedHost : (OFString *)host
176176 port : (uint16_t )port
177177{
178178 of_string_encoding_t encoding;
@@ -254,13 +254,13 @@ - (void)SSL_startTLSWithExpectedHost: (OFString*)host
254254 }
255255}
256256
257- - (void )startTLSWithExpectedHost : (OFString*)host
257+ - (void )startTLSWithExpectedHost : (OFString *)host
258258{
259259 [self SSL_startTLSWithExpectedHost: host
260260 port: 0 ];
261261}
262262
263- - (void )connectToHost : (OFString*)host
263+ - (void )connectToHost : (OFString *)host
264264 port : (uint16_t )port
265265{
266266 [super connectToHost: host
@@ -272,7 +272,7 @@ - (void)connectToHost: (OFString*)host
272272
273273- (instancetype )accept
274274{
275- SSLSocket *client = (SSLSocket*)[super accept ];
275+ SSLSocket *client = (SSLSocket *)[super accept ];
276276 of_string_encoding_t encoding;
277277
278278 if ((client->_SSL = SSL_new (ctx)) == NULL ||
@@ -317,7 +317,7 @@ - (void)SSL_super_close
317317 [super close ];
318318}
319319
320- - (size_t )lowlevelReadIntoBuffer : (void *)buffer
320+ - (size_t )lowlevelReadIntoBuffer : (void *)buffer
321321 length : (size_t )length
322322{
323323 ssize_t ret;
@@ -347,7 +347,7 @@ - (size_t)lowlevelReadIntoBuffer: (void*)buffer
347347 return ret;
348348}
349349
350- - (void )lowlevelWriteBuffer : (const void *)buffer
350+ - (void )lowlevelWriteBuffer : (const void *)buffer
351351 length : (size_t )length
352352{
353353 if (length > INT_MAX)
@@ -374,46 +374,46 @@ - (bool)hasDataInReadBuffer
374374 return [super hasDataInReadBuffer ];
375375}
376376
377- - (void )setCertificateFile : (OFString*)certificateFile
378- forSNIHost : (OFString*)SNIHost
377+ - (void )setCertificateFile : (OFString *)certificateFile
378+ forSNIHost : (OFString *)SNIHost
379379{
380380 /* TODO */
381381 OF_UNRECOGNIZED_SELECTOR
382382}
383383
384- - (OFString*)certificateFileForSNIHost : (OFString*)SNIHost
384+ - (OFString *)certificateFileForSNIHost : (OFString *)SNIHost
385385{
386386 /* TODO */
387387 OF_UNRECOGNIZED_SELECTOR
388388}
389389
390- - (void )setPrivateKeyFile : (OFString*)privateKeyFile
391- forSNIHost : (OFString*)SNIHost
390+ - (void )setPrivateKeyFile : (OFString *)privateKeyFile
391+ forSNIHost : (OFString *)SNIHost
392392{
393393 /* TODO */
394394 OF_UNRECOGNIZED_SELECTOR
395395}
396396
397- - (OFString*)privateKeyFileForSNIHost : (OFString*)SNIHost
397+ - (OFString *)privateKeyFileForSNIHost : (OFString *)SNIHost
398398{
399399 /* TODO */
400400 OF_UNRECOGNIZED_SELECTOR
401401}
402402
403- - (void )setPrivateKeyPassphrase : (const char *)privateKeyPassphrase
404- forSNIHost : (OFString*)SNIHost
403+ - (void )setPrivateKeyPassphrase : (const char *)privateKeyPassphrase
404+ forSNIHost : (OFString *)SNIHost
405405{
406406 /* TODO */
407407 OF_UNRECOGNIZED_SELECTOR
408408}
409409
410- - (const char *)privateKeyPassphraseForSNIHost : (OFString*)SNIHost
410+ - (const char *)privateKeyPassphraseForSNIHost : (OFString *)SNIHost
411411{
412412 /* TODO */
413413 OF_UNRECOGNIZED_SELECTOR
414414}
415415
416- - (OFDataArray*)channelBindingDataWithType : (OFString*)type
416+ - (OFDataArray *)channelBindingDataWithType : (OFString *)type
417417{
418418 size_t length;
419419 char buffer[64 ];
@@ -440,7 +440,7 @@ - (OFDataArray*)channelBindingDataWithType: (OFString*)type
440440 return data;
441441}
442442
443- - (X509Certificate*)peerCertificate
443+ - (X509Certificate *)peerCertificate
444444{
445445 X509 *certificate = SSL_get_peer_certificate (_SSL);
446446
0 commit comments