ObjOpenSSL  SSLSocket.h at [218a219fe5]

File src/SSLSocket.h artifact 247b5540e4 part of check-in 218a219fe5


#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