diff options
author | Maxim Yurchuk <maxim-yurchuk@ydb.tech> | 2025-05-30 21:14:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 21:14:52 +0000 |
commit | c75cf6fa89ba44e2fa74a15232593b2e8423ed3f (patch) | |
tree | a7f428153ad7b3109180af04a9c84af2b0ab2a16 /library/cpp/openssl/io/stream.cpp | |
parent | b21606bc4b50665ea3fdca703e13a4b4d7a44284 (diff) | |
parent | 8728b9da66674488bde07a092040097e46de9366 (diff) | |
download | ydb-c75cf6fa89ba44e2fa74a15232593b2e8423ed3f.tar.gz |
Library import 250529-1108 (#19003)
Diffstat (limited to 'library/cpp/openssl/io/stream.cpp')
-rw-r--r-- | library/cpp/openssl/io/stream.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/library/cpp/openssl/io/stream.cpp b/library/cpp/openssl/io/stream.cpp index 0b4be38c0e3..2666988728f 100644 --- a/library/cpp/openssl/io/stream.cpp +++ b/library/cpp/openssl/io/stream.cpp @@ -4,7 +4,6 @@ #include <util/generic/singleton.h> #include <util/generic/yexception.h> -#include <library/cpp/openssl/init/init.h> #include <library/cpp/openssl/method/io.h> #include <library/cpp/resource/resource.h> @@ -19,12 +18,6 @@ using TOptions = TOpenSslClientIO::TOptions; namespace { struct TSslIO; - struct TSslInitOnDemand { - inline TSslInitOnDemand() { - InitOpenSSL(); - } - }; - int GetLastSslError() noexcept { return ERR_peek_last_error(); } @@ -121,7 +114,7 @@ namespace { IOutputStream* Out; }; - struct TSslIO: public TSslInitOnDemand, public TOptions { + struct TSslIO: public TOptions { inline TSslIO(IInputStream* in, IOutputStream* out, const TOptions& opts) : TOptions(opts) , Io(in, out) |