aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuryalekseev <yuryalekseev@yandex-team.com>2023-10-10 19:41:31 +0300
committeryuryalekseev <yuryalekseev@yandex-team.com>2023-10-10 20:50:26 +0300
commit69466eb67e7450aeda732d4eb6a59d1e08b64444 (patch)
tree033e9d41d251f2b2e78206d35bf4b160fb5fa69e
parent7a300aaf20cf9a062e0cafaad819785ddb525c15 (diff)
downloadydb-69466eb67e7450aeda732d4eb6a59d1e08b64444.tar.gz
YT-17268: Address some review comments.
-rw-r--r--yt/yt/core/bus/tcp/ssl_helpers.cpp4
-rw-r--r--yt/yt/core/bus/tcp/ssl_helpers.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/yt/yt/core/bus/tcp/ssl_helpers.cpp b/yt/yt/core/bus/tcp/ssl_helpers.cpp
index e41d5392a64..0a115002332 100644
--- a/yt/yt/core/bus/tcp/ssl_helpers.cpp
+++ b/yt/yt/core/bus/tcp/ssl_helpers.cpp
@@ -49,7 +49,7 @@ TString GetLastSslErrorString()
////////////////////////////////////////////////////////////////////////////////
-bool UseCertificateChain(const TString& certificate, SSL *ssl)
+bool UseCertificateChain(const TString& certificate, SSL* ssl)
{
std::unique_ptr<BIO, TDeleter> bio(BIO_new_mem_buf(certificate.data(), certificate.size()));
if (!bio) {
@@ -79,7 +79,7 @@ bool UseCertificateChain(const TString& certificate, SSL *ssl)
////////////////////////////////////////////////////////////////////////////////
-bool UsePrivateKey(const TString& privateKey, SSL *ssl)
+bool UsePrivateKey(const TString& privateKey, SSL* ssl)
{
std::unique_ptr<BIO, TDeleter> bio(BIO_new_mem_buf(privateKey.data(), privateKey.size()));
if (!bio) {
diff --git a/yt/yt/core/bus/tcp/ssl_helpers.h b/yt/yt/core/bus/tcp/ssl_helpers.h
index 45c0c2b8f41..e99f826cb80 100644
--- a/yt/yt/core/bus/tcp/ssl_helpers.h
+++ b/yt/yt/core/bus/tcp/ssl_helpers.h
@@ -23,11 +23,11 @@ TString GetLastSslErrorString();
////////////////////////////////////////////////////////////////////////////////
-bool UseCertificateChain(const TString& certificate, SSL *ssl);
+bool UseCertificateChain(const TString& certificate, SSL* ssl);
////////////////////////////////////////////////////////////////////////////////
-bool UsePrivateKey(const TString& privateKey, SSL *ssl);
+bool UsePrivateKey(const TString& privateKey, SSL* ssl);
////////////////////////////////////////////////////////////////////////////////