nixpkgs-suyu/pkgs/servers/dns/powerdns/skip-sha384-test.patch
2018-02-17 14:16:24 +00:00

14 lines
532 B
Diff

--- pdns-4.1.1.org/pdns/test-signers.cc 2018-02-17 11:43:15.953228279 +0000
+++ pdns-4.1.1/pdns/test-signers.cc 2018-02-17 11:44:21.089516393 +0000
@@ -212,11 +212,6 @@
BOOST_CHECK_EQUAL(ds2.getZoneRepresentation(), signer.dsSHA256);
}
- auto ds4 = makeDSFromDNSKey(name, drc, DNSSECKeeper::SHA384);
- if (!signer.dsSHA384.empty()) {
- BOOST_CHECK_EQUAL(ds4.getZoneRepresentation(), signer.dsSHA384);
- }
-
auto signature = dcke->sign(message);
BOOST_CHECK(dcke->verify(message, signature));