mirror of
https://github.com/monero-project/monero.git
synced 2025-08-02 22:36:12 -04:00
Merge pull request #5538
615f287
wallet: fix certificate fingerprint length check (moneromooo-monero)
This commit is contained in:
commit
1607419e38
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue