ObjOpenSSL  SSLSocket.h at [4067b9e55c]

File src/SSLSocket.h artifact 247b5540e4 part of check-in 4067b9e55c


#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