22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include <openssl/bio.h>
#include <openssl/ssl.h>
OF_ASSUME_NONNULL_BEGIN
#define OFOpenSSLTLSStreamBufferSize 512
@interface OFOpenSSLTLSStream: OFTLSStream <OFStreamDelegate>
{
bool _handshakeDone;
SSL *_SSL;
BIO *_readBIO, *_writeBIO;
OFString *_host;
char _buffer[OFOpenSSLTLSStreamBufferSize];
|
>
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#include <openssl/bio.h>
#include <openssl/ssl.h>
OF_ASSUME_NONNULL_BEGIN
#define OFOpenSSLTLSStreamBufferSize 512
OF_SUBCLASSING_RESTRICTED
@interface OFOpenSSLTLSStream: OFTLSStream <OFStreamDelegate>
{
bool _handshakeDone;
SSL *_SSL;
BIO *_readBIO, *_writeBIO;
OFString *_host;
char _buffer[OFOpenSSLTLSStreamBufferSize];
|