mirror of https://github.com/getdnsapi/getdns.git
Merge pull request #142 from wtoorop/bugfix/load_gost
load gost algorithm if digest is seen before key algorithm
This commit is contained in:
commit
c70a5b108f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue