From 4a4339f023ea8dc828facde42401e792d88a0ca7 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 26 Feb 2016 12:20:16 +0100 Subject: [PATCH] load gost algorithm if digest is seen before key algorithm --- src/util/val_secalgo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/val_secalgo.c b/src/util/val_secalgo.c index 1c874ee6..99b0d8c5 100644 --- a/src/util/val_secalgo.c +++ b/src/util/val_secalgo.c @@ -88,6 +88,7 @@ _getdns_ds_digest_size_supported(int algo) #endif #ifdef USE_GOST case GLDNS_HASH_GOST: + (void) gldns_key_EVP_load_gost_id(); if(EVP_get_digestbyname("md_gost94")) return 32; else return 0;