File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -821,8 +821,8 @@ DecodeState perhapsDecode(meshtastic_MeshPacket *p)
821821 ChannelIndex chIndex = 0 ;
822822#if !(MESHTASTIC_EXCLUDE_PKI)
823823 meshtastic_NodeInfoLite *ourNode = nullptr ;
824- if (!owner.is_licensed && p->channel == 0 && isToUs (p) && p->to > 0 && !isBroadcast (p->to ) && rawSize > MESHTASTIC_PKC_OVERHEAD &&
825- (ourNode = nodeDB->getMeshNode (p->to )) != nullptr && ourNode->public_key .size > 0 ) {
824+ if (!owner.is_licensed && p->channel == 0 && isToUs (p) && p->to > 0 && !isBroadcast (p->to ) &&
825+ rawSize > MESHTASTIC_PKC_OVERHEAD && (ourNode = nodeDB->getMeshNode (p->to )) != nullptr && ourNode->public_key .size > 0 ) {
826826 pkiAttempted = true ;
827827 LOG_DEBUG (" Attempt PKI decryption" );
828828 // Resolve the sender's key only for actual PKI-decrypt candidates, not every encrypted channel
You can’t perform that action at this time.
0 commit comments