void BPFFilter::unblock(const DNSName& qname, uint16_t qtype)
{
- struct QNameKey key = { 0 };
+ struct QNameKey key = { { 0 } };
std::string keyStr = qname.toDNSStringLC();
(void) qtype;
std::vector<std::tuple<DNSName, uint16_t, uint64_t> > result;
std::unique_lock<std::mutex> lock(d_mutex);
- struct QNameKey key = {0};
- struct QNameKey nextKey = {0};
+ struct QNameKey key = { { 0 } };
+ struct QNameKey nextKey = { { 0 } };
struct QNameValue value;
int res = bpf_get_next_key(d_qnamemap.fd, &key, &nextKey);
DnsCryptPrivateKey privateKey;
unsigned char publicKey[DNSCRYPT_PUBLIC_KEY_SIZE];
DnsCryptPrivateKey oldPrivateKey;
- unsigned char oldPublicKey[DNSCRYPT_PUBLIC_KEY_SIZE];
bool hasOldCert{false};
};