load gost algorithm if digest is seen before key algorithm

This commit is contained in:
Willem Toorop 2016-02-26 12:20:16 +01:00
parent f5e9640ee8
commit 4a4339f023
1 changed files with 1 additions and 0 deletions

View File

@ -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;