diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/openssl | |
parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
download | ydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/openssl')
-rw-r--r-- | library/cpp/openssl/holders/holder.h | 2 | ||||
-rw-r--r-- | library/cpp/openssl/method/io.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/openssl/holders/holder.h b/library/cpp/openssl/holders/holder.h index 72a6e28a16..c2a26ce431 100644 --- a/library/cpp/openssl/holders/holder.h +++ b/library/cpp/openssl/holders/holder.h @@ -10,7 +10,7 @@ public: inline THolder(Args... args) { Ptr = Create(args...); if (!Ptr) { - throw std::bad_alloc(); + throw std::bad_alloc(); } } diff --git a/library/cpp/openssl/method/io.cpp b/library/cpp/openssl/method/io.cpp index 56fb14822e..d184b6456c 100644 --- a/library/cpp/openssl/method/io.cpp +++ b/library/cpp/openssl/method/io.cpp @@ -38,7 +38,7 @@ namespace { int Gets(BIO* bio, char* buf, int size) noexcept { return ExceptionBoundary(bio, &TAbstractIO::Gets, -1, buf, size); } - + long Ctrl(BIO* bio, int cmd, long larg, void* parg) noexcept { return ExceptionBoundary(bio, &TAbstractIO::Ctrl, -1, cmd, larg, parg); } @@ -76,7 +76,7 @@ namespace NOpenSSL { TAbstractIO::TAbstractIO() : Bio(BIO_new(*Method())) { if (Y_UNLIKELY(!Bio)) { - throw std::bad_alloc(); + throw std::bad_alloc(); } BIO_set_data(Bio, this); } |