]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable OpenSSL siphash.
authorWitold Kręcicki <wpk@isc.org>
Tue, 28 Jan 2020 07:46:52 +0000 (08:46 +0100)
committerWitold Krecicki <wpk@isc.org>
Fri, 7 Feb 2020 11:55:17 +0000 (11:55 +0000)
Creation of EVP_MD_CTX and EVP_PKEY is quite expensive, until
we fix the code to reuse the context and key we'll use our own
implementation of siphash.

lib/isc/siphash.c

index 783ef69e3f28bd5169f5f9ed1a6058fd216a7762..d9dc5628dc8c08a404c126e738fc9b0dbeaa8631 100644 (file)
 #include <isc/util.h>
 #include <isc/siphash.h>
 
-#if HAVE_OPENSSL_SIPHASH
+/*
+ * Creation of EVP_MD_CTX and EVP_PKEY is quite expensive, until
+ * we fix the code to reuse the context and key we'll use our own
+ * implementation of siphash.
+ */
+#if 0 /* HAVE_OPENSSL_SIPHASH */
 #include <openssl/evp.h>
 
 void