Merge pull request #142 from wtoorop/bugfix/load_gost

load gost algorithm if digest is seen before key algorithm
This commit is contained in:
wtoorop 2016-02-26 12:26:42 +01:00
commit c70a5b108f
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;