* bugfix #166: Grow buffer when writing chars and fixed size
strings when converting to presentation format, preventing
potential assersion errors.
+ * bugfix #46: Print failed to get packet instead of null when
+ secure tracing with drill. Thanks reedjc
1.8.1 2021-12-03
* bugfix #146: ldns-1.7.1 had soname 3.0, so ldns-1.8.x soname
ldns_rr_list *nsecs;
ldns_status result;
-
+ const ldns_rr_descriptor *descriptor;
+
+ if (!pkt) {
+ descriptor = ldns_rr_descript(type);
+
+ printf("NETWORk ERROR! Cannot verify denial for: ");
+ ldns_rdf_print(stdout, name);
+ printf(" type ");
+ if (descriptor && descriptor->_name)
+ printf("%s", descriptor->_name);
+ else
+ printf("TYPE%u", type);
+ return LDNS_STATUS_CRYPTO_NO_RRSIG;
+ }
if (verbosity >= 5) {
printf("VERIFY DENIAL FROM:\n");
ldns_pkt_print(stdout, pkt);