+ 429. [bug] The space reserved for a TSIG record in a response
+ was 2 bytes too short, leading to message
+ generation failures.
+
426. [bug] Attempting to generate an oversized RSA key could
cause dnssec-keygen to dump core.
* SOFTWARE.
*/
-/* $Id: message.c,v 1.131.2.6 2000/08/07 22:07:09 gson Exp $ */
+/* $Id: message.c,v 1.131.2.7 2000/09/07 22:39:03 gson Exp $ */
/***
*** Imports
* 2 bytes for the type
* 2 bytes for the class
* 4 bytes for the ttl
+ * 2 bytes for the rdlength
+ * n2 bytes for the algorithm name
* 6 bytes for the time signed
* 2 bytes for the fudge
* 2 bytes for the MAC size
* 2 bytes for the other data length
* y bytes for the other data (at most)
* ---------------------------------
- * 30 + n1 + n2 + x + y bytes
+ * 26 + n1 + n2 + x + y bytes
*/
dns_name_toregion(&key->name, &r1);
if (result != ISC_R_SUCCESS)
x = 0;
}
- return (24 + r1.length + r2.length + x + otherlen);
+ return (26 + r1.length + r2.length + x + otherlen);
}
isc_result_t