Differences From Artifact [38e4f875d1]:
- File
src/OFTLSSocket.h
— part of check-in
[34cb121dc5]
at
2021-11-06 00:10:48
on branch trunk
— Make OFTLSSocket an abstract class
This should make it easier to add TLS support using various
implementations. (user: js, size: 3479) [annotate] [blame] [check-ins using]
To Artifact [163daa0bfa]:
- File src/OFTLSSocket.h — part of check-in [746ddd7d7f] at 2021-11-06 17:36:29 on branch trunk — Fix OFTLSSocket for the case sockets are not FDs (user: js, size: 3614) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | * The default is enabled. */ @property (nonatomic) bool verifiesCertificates; /** * @brief Initializes the TLS socket with the specified TCP socket as its * underlying socket. * * @param socket The TCP socket to use as underlying socket */ - (instancetype)initWithSocket: (OFTCPSocket *)socket; /** * @brief Start TLS on the underlying socket with the assumption that it is | > > > | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | * The default is enabled. */ @property (nonatomic) bool verifiesCertificates; /** * @brief Initializes the TLS socket with the specified TCP socket as its * underlying socket. * * The passed socket will become invalid, as the internal socket handle gets * moved from the specified socket to the OFTLSSocket. * * @param socket The TCP socket to use as underlying socket */ - (instancetype)initWithSocket: (OFTCPSocket *)socket; /** * @brief Start TLS on the underlying socket with the assumption that it is |
︙ | ︙ |