2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().

[RT #16976]
This commit is contained in:
Mark Andrews
2007-08-27 04:47:40 +00:00
parent 6224164cbd
commit 2497f7dcf6
2 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
[RT #16976]
2214. [bug] Deregister OpenSSL lock callback when cleaning
up. [RT #17098]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.91.2.14 2007/01/08 02:45:02 marka Exp $ */
/* $Id: validator.c,v 1.91.2.15 2007/08/27 04:47:40 marka Exp $ */
#include <config.h>
@@ -1491,7 +1491,6 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
dns_validatorevent_t *event;
REQUIRE(name != NULL);
REQUIRE(type != 0);
REQUIRE(rdataset != NULL ||
(rdataset == NULL && sigrdataset == NULL && message != NULL));
REQUIRE(options == 0);