aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-11 13:04:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-11 13:05:06 +0000
commit615f287aeccf803b4ed2b783002444cda486e432 (patch)
tree27b6daac591cd45fb56cf1aba66b412a816f7689 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #5509 (diff)
downloadmonero-615f287aeccf803b4ed2b783002444cda486e432.tar.xz
wallet: fix certificate fingerprint length check
Fixed by crCr62U0
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index a51057d0b..ebe849a67 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -255,7 +255,7 @@ namespace tools
{
std::vector<std::vector<uint8_t>> allowed_fingerprints{ rpc_ssl_allowed_fingerprints.size() };
std::transform(rpc_ssl_allowed_fingerprints.begin(), rpc_ssl_allowed_fingerprints.end(), allowed_fingerprints.begin(), epee::from_hex::vector);
- for (const auto &fpr: rpc_ssl_allowed_fingerprints)
+ for (const auto &fpr: allowed_fingerprints)
{
if (fpr.size() != SSL_FINGERPRINT_SIZE)
{