mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 00:00:51 -05:00
- fix configure ECDSA support in ldns detection for windows compile.
- fix possible uninitialised variable in windows pipe implementation. git-svn-id: file:///svn/unbound/trunk@2667 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
3930e23b8c
commit
3d4f037f53
5 changed files with 18 additions and 2 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -17892,6 +17892,12 @@ fi
|
||||||
if test x$use_ecdsa = xyes; then
|
if test x$use_ecdsa = xyes; then
|
||||||
ac_fn_c_check_decl "$LINENO" "LDNS_ECDSAP384SHA384" "ac_cv_have_decl_LDNS_ECDSAP384SHA384" "
|
ac_fn_c_check_decl "$LINENO" "LDNS_ECDSAP384SHA384" "ac_cv_have_decl_LDNS_ECDSAP384SHA384" "
|
||||||
$ac_includes_default
|
$ac_includes_default
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_WS2TCPIP_H
|
||||||
|
# include <ws2tcpip.h>
|
||||||
|
#endif
|
||||||
#include <ldns/ldns.h>
|
#include <ldns/ldns.h>
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -1002,6 +1002,12 @@ fi
|
||||||
if test x$use_ecdsa = xyes; then
|
if test x$use_ecdsa = xyes; then
|
||||||
AC_CHECK_DECL([LDNS_ECDSAP384SHA384], [], [], [
|
AC_CHECK_DECL([LDNS_ECDSAP384SHA384], [], [], [
|
||||||
AC_INCLUDES_DEFAULT
|
AC_INCLUDES_DEFAULT
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_WS2TCPIP_H
|
||||||
|
# include <ws2tcpip.h>
|
||||||
|
#endif
|
||||||
#include <ldns/ldns.h>
|
#include <ldns/ldns.h>
|
||||||
])
|
])
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
15 May 2012: Wouter
|
||||||
|
- fix configure ECDSA support in ldns detection for windows compile.
|
||||||
|
- fix possible uninitialised variable in windows pipe implementation.
|
||||||
|
|
||||||
9 May 2012: Wouter
|
9 May 2012: Wouter
|
||||||
- Fix alignment problem in util/random on sparc64/freebsd.
|
- Fix alignment problem in util/random on sparc64/freebsd.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ cleanup () {
|
||||||
|
|
||||||
error_cleanup () {
|
error_cleanup () {
|
||||||
echo "$0: error: $1" >&2
|
echo "$0: error: $1" >&2
|
||||||
cleanup
|
##cleanup
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -712,7 +712,7 @@ void tube_handle_signal(int ATTR_UNUSED(fd), short ATTR_UNUSED(events),
|
||||||
{
|
{
|
||||||
struct tube* tube = (struct tube*)arg;
|
struct tube* tube = (struct tube*)arg;
|
||||||
uint8_t* buf;
|
uint8_t* buf;
|
||||||
uint32_t len;
|
uint32_t len = 0;
|
||||||
verbose(VERB_ALGO, "tube handle_signal");
|
verbose(VERB_ALGO, "tube handle_signal");
|
||||||
while(tube_poll(tube)) {
|
while(tube_poll(tube)) {
|
||||||
if(tube_read_msg(tube, &buf, &len, 1)) {
|
if(tube_read_msg(tube, &buf, &len, 1)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue