line |
true |
false |
branch |
69
|
0 |
0 |
if(wire_len < LDNS_HEADER_SIZE) { |
78
|
0 |
0 |
if (ar_count > 0) { |
86
|
0 |
0 |
for (i = 0; i < qd_count; i++) { |
88
|
0 |
0 |
if (status != LDNS_STATUS_OK) { |
94
|
0 |
0 |
for (i = 0; i < an_count; i++) { |
96
|
0 |
0 |
if (status != LDNS_STATUS_OK) { |
102
|
0 |
0 |
for (i = 0; i < ns_count; i++) { |
104
|
0 |
0 |
if (status != LDNS_STATUS_OK) { |
110
|
0 |
0 |
for (i = 0; i < ar_count; i++) { |
113
|
0 |
0 |
if (status != LDNS_STATUS_OK) { |
121
|
0 |
0 |
if(!wire2) { |
137
|
0 |
0 |
if (strcasecmp(name, "hmac-sha256.") == 0) { |
143
|
0 |
0 |
} else if (strcasecmp(name, "hmac-sha1.") == 0) { |
145
|
0 |
0 |
} else if (strcasecmp(name, "hmac-md5.sig-alg.reg.int.") == 0) { |
174
|
0 |
0 |
if (key_name_rdf == NULL || algorithm_rdf == NULL) { |
|
0 |
0 |
if (key_name_rdf == NULL || algorithm_rdf == NULL) { |
178
|
0 |
0 |
if (canonical_key_name_rdf == NULL) { |
182
|
0 |
0 |
if (canonical_algorithm_rdf == NULL) { |
190
|
0 |
0 |
if (!data_buffer) { |
195
|
0 |
0 |
if (orig_mac_rdf) { |
199
|
0 |
0 |
if (!tsig_timers_only) { |
211
|
0 |
0 |
if (!tsig_timers_only) { |
220
|
0 |
0 |
if(!algorithm_name) { |
228
|
0 |
0 |
if(!key_bytes) { |
234
|
0 |
0 |
if (key_size < 0) { |
241
|
0 |
0 |
if(!mac_bytes) { |
249
|
0 |
0 |
if (digester) { |
303
|
0 |
0 |
if (!orig_tsig || ldns_rr_rd_count(orig_tsig) <= 6) { |
|
0 |
0 |
if (!orig_tsig || ldns_rr_rd_count(orig_tsig) <= 6) { |
330
|
0 |
0 |
if (status != LDNS_STATUS_OK) { |
340
|
0 |
0 |
if (ldns_rdf_compare(pkt_mac_rdf, my_mac_rdf) == 0) { |
381
|
0 |
0 |
if(!key_name_rdf || !algorithm_rdf) { |
|
0 |
0 |
if(!key_name_rdf || !algorithm_rdf) { |
388
|
0 |
0 |
if (gettimeofday(&tv_time_signed, NULL) == 0) { |
390
|
0 |
0 |
if(!time_signed) { |
402
|
0 |
0 |
if(!time_signed_rdf) { |
416
|
0 |
0 |
if(!fudge_rdf || !orig_id_rdf || !error_rdf || !other_data_rdf) { |
|
0 |
0 |
if(!fudge_rdf || !orig_id_rdf || !error_rdf || !other_data_rdf) { |
|
0 |
0 |
if(!fudge_rdf || !orig_id_rdf || !error_rdf || !other_data_rdf) { |
|
0 |
0 |
if(!fudge_rdf || !orig_id_rdf || !error_rdf || !other_data_rdf) { |
421
|
0 |
0 |
if (ldns_pkt2wire(&pkt_wire, pkt, &pkt_wire_len) != LDNS_STATUS_OK) { |
430
|
0 |
0 |
if (!mac_rdf) { |
438
|
0 |
0 |
if(!tsig_rr) { |