Initial import.
This commit is contained in:
commit
47f4dd4fdb
3 changed files with 207 additions and 0 deletions
14
SSLSocket.h
Normal file
14
SSLSocket.h
Normal 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
|
Reference in a new issue