diff --git a/doc/Changelog b/doc/Changelog index 70f1fe8ee..3c1801c29 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +28 February 2017: Ralph + - Fix testpkts.c, check if DO bit is set, not only if there is an OPT + record. + 28 February 2017: Wouter - For #1227: if we have sha256, set the cipher list to have no known vulns. diff --git a/testcode/testpkts.c b/testcode/testpkts.c index c9ad9d069..163c51d50 100644 --- a/testcode/testpkts.c +++ b/testcode/testpkts.c @@ -802,8 +802,8 @@ get_do_flag(uint8_t* pkt, size_t len) uint16_t edns_bits; uint8_t* walk = pkt; size_t walk_len = len; - if(pkt_find_edns_opt(&walk, &walk_len)) { - return 1; + if(!pkt_find_edns_opt(&walk, &walk_len)) { + return 0; } if(walk_len < 6) return 0; /* malformed */