mirror of https://github.com/getdnsapi/getdns.git
load gost algorithm if digest is seen before key algorithm
This commit is contained in:
parent
f5e9640ee8
commit
4a4339f023
|
@ -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