aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/openssl
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:39:40 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:57:14 +0300
commite601ca03f859335d57ecff2e5aa6af234b6052ed (patch)
treede519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/openssl
parentbbf2b6878af3854815a2c0ecb07a687071787639 (diff)
downloadydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/openssl')
-rw-r--r--library/cpp/openssl/big_integer/big_integer.cpp2
-rw-r--r--library/cpp/openssl/method/io.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/openssl/big_integer/big_integer.cpp b/library/cpp/openssl/big_integer/big_integer.cpp
index 9b6802369a..49a60fd975 100644
--- a/library/cpp/openssl/big_integer/big_integer.cpp
+++ b/library/cpp/openssl/big_integer/big_integer.cpp
@@ -40,7 +40,7 @@ size_t TBigInteger::NumBytes() const noexcept {
size_t TBigInteger::ToRegion(void* to) const noexcept {
const auto ret = BN_bn2bin(Impl_, (unsigned char*)to);
- Y_VERIFY(ret >= 0, "it happens");
+ Y_ABORT_UNLESS(ret >= 0, "it happens");
return ret;
}
diff --git a/library/cpp/openssl/method/io.cpp b/library/cpp/openssl/method/io.cpp
index d184b6456c..533cb04180 100644
--- a/library/cpp/openssl/method/io.cpp
+++ b/library/cpp/openssl/method/io.cpp
@@ -10,7 +10,7 @@ namespace {
TAbstractIO* IO(BIO* bio) noexcept {
void* ptr = BIO_get_data(bio);
- Y_VERIFY(ptr);
+ Y_ABORT_UNLESS(ptr);
return static_cast<TAbstractIO*>(ptr);
}