Browse Source

Merge pull request #1919 from wekoq/openssl

Recognize invalid static key
pull/1921/head
orignal 1 year ago committed by GitHub
parent
commit
fb83ca42f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      libi2pd/RouterInfo.cpp

4
libi2pd/RouterInfo.cpp

@ -362,6 +362,10 @@ namespace data @@ -362,6 +362,10 @@ namespace data
}
if (!s) return;
}
if (!i2p::data::CheckStaticKey(address->s, GetIdentHash()))
continue; // skip address
if (address->transportStyle == eTransportNTCP2)
{
if (isStaticKey)

Loading…
Cancel
Save