mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Print error if SSL name verification configured but not available
in the ssl library. git-svn-id: file:///svn/unbound/trunk@4784 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
0ae750e552
commit
cc5ab744c5
4 changed files with 17 additions and 0 deletions
|
|
@ -1950,6 +1950,11 @@ parse_delegpt(RES* ssl, char* args, uint8_t* nm, int allow_names)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
#ifndef HAVE_SSL_SET1_HOST
|
||||||
|
if(auth_name)
|
||||||
|
log_err("no name verification functionality in "
|
||||||
|
"ssl library, ignored name for %s", p->str);
|
||||||
|
#endif
|
||||||
/* add address */
|
/* add address */
|
||||||
if(!delegpt_add_addr_mlc(dp, &addr, addrlen, 0, 0,
|
if(!delegpt_add_addr_mlc(dp, &addr, addrlen, 0, 0,
|
||||||
auth_name)) {
|
auth_name)) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
17 July 2018: Wouter
|
17 July 2018: Wouter
|
||||||
- Fix #4127 unbound -h does not list -p help.
|
- Fix #4127 unbound -h does not list -p help.
|
||||||
|
- Print error if SSL name verification configured but not available
|
||||||
|
in the ssl library.
|
||||||
|
|
||||||
16 July 2018: Wouter
|
16 July 2018: Wouter
|
||||||
- Fix qname minimisation NXDOMAIN validation lookup failures causing
|
- Fix qname minimisation NXDOMAIN validation lookup failures causing
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,11 @@ read_fwds_addr(struct config_stub* s, struct delegpt* dp)
|
||||||
s->name, p->str);
|
s->name, p->str);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#ifndef HAVE_SSL_SET1_HOST
|
||||||
|
if(tls_auth_name)
|
||||||
|
log_err("no name verification functionality in "
|
||||||
|
"ssl library, ignored name for %s", p->str);
|
||||||
|
#endif
|
||||||
if(!delegpt_add_addr_mlc(dp, &addr, addrlen, 0, 0,
|
if(!delegpt_add_addr_mlc(dp, &addr, addrlen, 0, 0,
|
||||||
tls_auth_name)) {
|
tls_auth_name)) {
|
||||||
log_err("out of memory");
|
log_err("out of memory");
|
||||||
|
|
|
||||||
|
|
@ -252,6 +252,11 @@ read_stubs_addr(struct config_stub* s, struct delegpt* dp)
|
||||||
s->name, p->str);
|
s->name, p->str);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#ifndef HAVE_SSL_SET1_HOST
|
||||||
|
if(auth_name)
|
||||||
|
log_err("no name verification functionality in "
|
||||||
|
"ssl library, ignored name for %s", p->str);
|
||||||
|
#endif
|
||||||
if(!delegpt_add_addr_mlc(dp, &addr, addrlen, 0, 0,
|
if(!delegpt_add_addr_mlc(dp, &addr, addrlen, 0, 0,
|
||||||
auth_name)) {
|
auth_name)) {
|
||||||
log_err("out of memory");
|
log_err("out of memory");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue