summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/dns/hmac_link.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-11 17:28:46 +0000
committerflorian <florian@openbsd.org>2020-02-11 17:28:46 +0000
commit49ac168bada985824eb1faba2382ce03527f26af (patch)
tree595d1f2350c50b4736483002b396f108fea9f9d9 /usr.bin/dig/lib/dns/hmac_link.c
parentRemove unused functionality from dst_api.c. (diff)
downloadwireguard-openbsd-49ac168bada985824eb1faba2382ce03527f26af.tar.xz
wireguard-openbsd-49ac168bada985824eb1faba2382ce03527f26af.zip
Pretty sure sha1 works most of the time, no need to check during
runtime.
Diffstat (limited to 'usr.bin/dig/lib/dns/hmac_link.c')
-rw-r--r--usr.bin/dig/lib/dns/hmac_link.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/dig/lib/dns/hmac_link.c b/usr.bin/dig/lib/dns/hmac_link.c
index d3dc71d65fb..42124848da6 100644
--- a/usr.bin/dig/lib/dns/hmac_link.c
+++ b/usr.bin/dig/lib/dns/hmac_link.c
@@ -33,7 +33,7 @@
/*
* Principal Author: Brian Wellington
- * $Id: hmac_link.c,v 1.1 2020/02/07 09:58:52 florian Exp $
+ * $Id: hmac_link.c,v 1.2 2020/02/11 17:28:46 florian Exp $
*/
@@ -312,12 +312,6 @@ static dst_func_t hmacsha1_functions = {
isc_result_t
dst__hmacsha1_init(dst_func_t **funcp) {
- /*
- * Prevent use of incorrect crypto
- */
- RUNTIME_CHECK(isc_sha1_check(ISC_FALSE));
- RUNTIME_CHECK(isc_hmacsha1_check(0));
-
REQUIRE(funcp != NULL);
if (*funcp == NULL)
*funcp = &hmacsha1_functions;