- fix possible uninitialised variable in windows pipe implementation.
git-svn-id: file:///svn/unbound/trunk@2667
be551aaa-1e26-0410-a405-
d3ace91eadb9
if test x$use_ecdsa = xyes; then
ac_fn_c_check_decl "$LINENO" "LDNS_ECDSAP384SHA384" "ac_cv_have_decl_LDNS_ECDSAP384SHA384" "
$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>
"
if test x$use_ecdsa = xyes; then
AC_CHECK_DECL([LDNS_ECDSAP384SHA384], [], [], [
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>
])
else
+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
- Fix alignment problem in util/random on sparc64/freebsd.
error_cleanup () {
echo "$0: error: $1" >&2
- cleanup
+ ##cleanup
exit 1
}
{
struct tube* tube = (struct tube*)arg;
uint8_t* buf;
- uint32_t len;
+ uint32_t len = 0;
verbose(VERB_ALGO, "tube handle_signal");
while(tube_poll(tube)) {
if(tube_read_msg(tube, &buf, &len, 1)) {