Initial import.

This commit is contained in:
Jonathan Schleifer 2011-03-28 22:05:36 +02:00
commit 47f4dd4fdb
3 changed files with 207 additions and 0 deletions

14
SSLSocket.h Normal file
View file

@ -0,0 +1,14 @@
#include <openssl/ssl.h>
#import <ObjFW/OFTCPSocket.h>
@interface SSLSocket: OFTCPSocket
{
SSL_CTX *ctx;
SSL *ssl;
BOOL handsShaken;
}
/* Change the return type */
- (SSLSocket*)accept;
@end