aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-05-14 16:02:59 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-05-14 16:02:59 -0500
commit1607419e3817d12a8fed307d1e0f8fead5bbda69 (patch)
tree7204ee5a2ccb2aa96a4cc1dbca7d43ad6dd2147c /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #5532 (diff)
parentwallet: fix certificate fingerprint length check (diff)
downloadmonero-1607419e3817d12a8fed307d1e0f8fead5bbda69.tar.xz
Merge pull request #5538
615f287 wallet: fix certificate fingerprint length check (moneromooo-monero)
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 3e2899962..16a2b3808 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)
{