mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- load gost algorithm if digest is seen before key algorithm.
git-svn-id: file:///svn/unbound/trunk@3630 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
134924c4da
commit
e9f954b828
3 changed files with 3 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
19 February 2016: Wouter
|
19 February 2016: Wouter
|
||||||
- Print understandable debug log when unusable DS record is seen.
|
- Print understandable debug log when unusable DS record is seen.
|
||||||
- load gost algorithm into unbound-host.
|
- load gost algorithm if digest is seen before key algorithm.
|
||||||
|
|
||||||
17 February 2016: Wouter
|
17 February 2016: Wouter
|
||||||
- Fix that "make install" fails due to "text file busy" error.
|
- Fix that "make install" fails due to "text file busy" error.
|
||||||
|
|
|
||||||
|
|
@ -418,9 +418,6 @@ int main(int argc, char* argv[])
|
||||||
struct ub_ctx* ctx = NULL;
|
struct ub_ctx* ctx = NULL;
|
||||||
int debuglevel = 0;
|
int debuglevel = 0;
|
||||||
|
|
||||||
# ifdef USE_GOST
|
|
||||||
(void)sldns_key_EVP_load_gost_id();
|
|
||||||
# endif
|
|
||||||
ctx = ub_ctx_create();
|
ctx = ub_ctx_create();
|
||||||
if(!ctx) {
|
if(!ctx) {
|
||||||
fprintf(stderr, "error: out of memory\n");
|
fprintf(stderr, "error: out of memory\n");
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,8 @@ ds_digest_size_supported(int algo)
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_GOST
|
#ifdef USE_GOST
|
||||||
case LDNS_HASH_GOST:
|
case LDNS_HASH_GOST:
|
||||||
|
/* we support GOST if it can be loaded */
|
||||||
|
(void)sldns_key_EVP_load_gost_id();
|
||||||
if(EVP_get_digestbyname("md_gost94"))
|
if(EVP_get_digestbyname("md_gost94"))
|
||||||
return 32;
|
return 32;
|
||||||
else return 0;
|
else return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue