19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#import "OFTLSStream.h"
#include <gnutls/gnutls.h>
OF_ASSUME_NONNULL_BEGIN
@interface OFGnuTLSTLSStream: OFTLSStream <OFStreamDelegate>
{
bool _initialized, _handshakeDone;
gnutls_session_t _session;
OFString *_host;
}
@end
OF_ASSUME_NONNULL_END
|
>
|
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFTLSStream.h"
#include <gnutls/gnutls.h>
OF_ASSUME_NONNULL_BEGIN
OF_SUBCLASSING_RESTRICTED
@interface OFGnuTLSTLSStream: OFTLSStream <OFStreamDelegate>
{
bool _server, _handshakeDone;
gnutls_session_t _session;
gnutls_certificate_credentials_t _credentials;
OFString *_host;
}
@end
OF_ASSUME_NONNULL_END
|