diff options
author | timestep <timestep@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
commit | 38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch) | |
tree | 7570cb7cabf97af7ecb6ffe485e8037d516daa29 /library/cpp/openssl/io/stream.cpp | |
parent | a0ffafe83b7d6229709a32fa942c71d672ac989c (diff) | |
download | ydb-38b4bd28ca420294f532ac7ca6b2770d60e3dfd0.tar.gz |
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/openssl/io/stream.cpp')
-rw-r--r-- | library/cpp/openssl/io/stream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/openssl/io/stream.cpp b/library/cpp/openssl/io/stream.cpp index 0b4be38c0e..f7aad42067 100644 --- a/library/cpp/openssl/io/stream.cpp +++ b/library/cpp/openssl/io/stream.cpp @@ -282,11 +282,11 @@ public: TBuiltinCerts() { TString c = NResource::Find("/builtin/cacert"); - TBioPtr cbio(BIO_new_mem_buf(c.data(), c.size())); + TBioPtr cbio(BIO_new_mem_buf(c.data(), c.size())); Y_ENSURE_EX(cbio, TSslError() << "BIO_new_mem_buf"); while (true) { - TX509Ptr cert(PEM_read_bio_X509(cbio.Get(), nullptr, nullptr, nullptr)); + TX509Ptr cert(PEM_read_bio_X509(cbio.Get(), nullptr, nullptr, nullptr)); if (!cert) { break; } @@ -304,7 +304,7 @@ public: } TOpenSslX509StorePtr GetX509Store() const { - TOpenSslX509StorePtr store(X509_STORE_new()); + TOpenSslX509StorePtr store(X509_STORE_new()); for (const TX509Ptr& c : Certs) { if (0 == X509_STORE_add_cert(store.Get(), c.Get())) { |