diff options
author | B. Stack <bgstack15@gmail.com> | 2022-01-04 10:50:14 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-01-04 10:50:14 -0500 |
commit | 75bc2e56125125511a0505718dcb2c3d4150a933 (patch) | |
tree | b8252ff8a09d9143ed2dc299d082f9d86535c1a2 /zen/open_ssl.h | |
parent | Merge branch 'b11.15' into 'master' (diff) | |
download | FreeFileSync-75bc2e56125125511a0505718dcb2c3d4150a933.tar.gz FreeFileSync-75bc2e56125125511a0505718dcb2c3d4150a933.tar.bz2 FreeFileSync-75bc2e56125125511a0505718dcb2c3d4150a933.zip |
add upstream 11.16
Diffstat (limited to 'zen/open_ssl.h')
-rw-r--r-- | zen/open_ssl.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/zen/open_ssl.h b/zen/open_ssl.h index 2b0c7245..d1b823de 100644 --- a/zen/open_ssl.h +++ b/zen/open_ssl.h @@ -36,23 +36,6 @@ std::string convertRsaKey(const std::string& keyStream, RsaStreamType typeFrom, bool isPuttyKeyStream(const std::string& keyStream); std::string convertPuttyKeyToPkix(const std::string& keyStream, const std::string& passphrase); //throw SysError - - -class TlsContext -{ -public: - TlsContext(int socket, //throw SysError - const Zstring& server, - const Zstring* caCertFilePath /*optional: enable certificate validation*/); - ~TlsContext(); - - size_t tryRead( void* buffer, size_t bytesToRead ); //throw SysError; may return short, only 0 means EOF! - size_t tryWrite(const void* buffer, size_t bytesToWrite); //throw SysError; may return short! CONTRACT: bytesToWrite > 0 - -private: - class Impl; - const std::unique_ptr<Impl> pimpl_; -}; } #endif //OPEN_SSL_H_801974580936508934568792347506 |