review comments Matthijs.

git-svn-id: file:///svn/unbound/trunk@1637 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-06-03 08:06:42 +00:00
parent 38ec4f4777
commit b2ff49e4c4
3 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,7 @@
3 June 2009: Wouter 3 June 2009: Wouter
- fixup bad free() when wrongly encoded DSA signature is seen. - fixup bad free() when wrongly encoded DSA signature is seen.
Reported by Paul Wouters. Reported by Paul Wouters.
- review comments from Matthijs.
2 June 2009: Wouter 2 June 2009: Wouter
- --enable-sha2 option. The draft rsasha256 changed its algorithm - --enable-sha2 option. The draft rsasha256 changed its algorithm

View file

@ -1771,8 +1771,10 @@ processTargetResponse(struct module_qstate* qstate, int id,
log_query_info(VERB_ALGO, "processTargetResponse super", &forq->qinfo); log_query_info(VERB_ALGO, "processTargetResponse super", &forq->qinfo);
/* check to see if parent event is still interested (in orig name). */ /* check to see if parent event is still interested (in orig name). */
if(!foriq->dp) if(!foriq->dp) {
verbose(VERB_ALGO, "subq: parent not interested, was reset");
return; /* not interested anymore */ return; /* not interested anymore */
}
dpns = delegpt_find_ns(foriq->dp, qstate->qinfo.qname, dpns = delegpt_find_ns(foriq->dp, qstate->qinfo.qname,
qstate->qinfo.qname_len); qstate->qinfo.qname_len);
if(!dpns) { if(!dpns) {

View file

@ -176,7 +176,7 @@ create_udp_sock(int family, int socktype, struct sockaddr* addr,
*noproto = 1; *noproto = 1;
else if(errno != EADDRINUSE) else if(errno != EADDRINUSE)
log_err("can't bind socket: %s", strerror(errno)); log_err("can't bind socket: %s", strerror(errno));
#endif #endif /* EADDRINUSE */
close(s); close(s);
#else /* USE_WINSOCK */ #else /* USE_WINSOCK */
if(WSAGetLastError() != WSAEADDRINUSE && if(WSAGetLastError() != WSAEADDRINUSE &&