aboutsummaryrefslogtreecommitdiff
path: root/external/unbound
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-04-24 10:46:23 +0200
committerRiccardo Spagni <ric@spagni.net>2017-04-24 10:46:23 +0200
commit865bb03ecf01226a488a9cf55bbe848755afe09c (patch)
tree3f72b458473d5173af8f78b6049776d2438f30c4 /external/unbound
parentMerge pull request #1967 (diff)
parentFix obsolete OpenSSL API usage (diff)
downloadmonero-865bb03ecf01226a488a9cf55bbe848755afe09c.tar.xz
Merge pull request #1968
5e5b8512 Fix obsolete OpenSSL API usage (hyc) 6c72d6a0 Fix Android recognition (hyc) e65d66fe Fix ARM64 identification (hyc) a4673218 Clean up ARMv8-a aes_expand_key() (hyc) a3d77901 Fix block_longhash_worker thread (hyc)
Diffstat (limited to '')
-rw-r--r--external/unbound/validator/val_secalgo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/external/unbound/validator/val_secalgo.c b/external/unbound/validator/val_secalgo.c
index 7c8d7b287..256c3ff92 100644
--- a/external/unbound/validator/val_secalgo.c
+++ b/external/unbound/validator/val_secalgo.c
@@ -345,7 +345,11 @@ setup_key_digest(int algo, EVP_PKEY** evp_key, const EVP_MD** digest_type,
"EVP_PKEY_assign_DSA failed");
return 0;
}
+#ifdef HAVE_EVP_DSS1
*digest_type = EVP_dss1();
+#else
+ *digest_type = EVP_sha1();
+#endif
break;
case LDNS_RSASHA1: