summaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/validator/val_secalgo.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound/validator/val_secalgo.c')
-rw-r--r--usr.sbin/unbound/validator/val_secalgo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/unbound/validator/val_secalgo.c b/usr.sbin/unbound/validator/val_secalgo.c
index 7c8d7b28718..baa4dae1a87 100644
--- a/usr.sbin/unbound/validator/val_secalgo.c
+++ b/usr.sbin/unbound/validator/val_secalgo.c
@@ -117,6 +117,8 @@ ds_digest_size_supported(int algo)
#endif
#ifdef USE_GOST
case LDNS_HASH_GOST:
+ /* we support GOST if it can be loaded */
+ (void)sldns_key_EVP_load_gost_id();
if(EVP_get_digestbyname("md_gost94"))
return 32;
else return 0;