ObjOpenSSL  Diff

Differences From Artifact [af6ab49c20]:

To Artifact [247b5540e4]:


1
2
3
4
5
6
7
8
9
10


11
12
13
14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16










+
+




#include <openssl/ssl.h>

#import <ObjFW/OFTCPSocket.h>

@interface SSLSocket: OFTCPSocket
{
	SSL_CTX *ctx;
	SSL *ssl;
	BOOL handsShaken;
}

- initWithSocket: (OFTCPSocket*)socket;

/* Change the return type */
- (SSLSocket*)accept;
@end