]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Revert changes in files managed by maintainers, move docker do contrib dir
authorTomasz Ziolkowski <tomasz.ziolkowski@allegro.pl>
Wed, 4 Aug 2021 10:57:55 +0000 (12:57 +0200)
committerTomasz Ziolkowski <tomasz.ziolkowski@allegro.pl>
Wed, 4 Aug 2021 11:02:38 +0000 (13:02 +0200)
.gitignore
configure
configure.ac
contrib/Dockerfile.tests [moved from Dockerfile with 100% similarity]
doc/README.tests
util/netevent.c

index ddd7349675af01e4b9b7855da4cd673ee832a923..d0c69f81d2e96cf09541fbb5f3d1ab25e5308603 100644 (file)
@@ -56,4 +56,3 @@
 /testdata/.perfstats.txt
 /doc/html
 /doc/xml
-.idea
index d27ded8a54bc73a7078367a403cbafefd8cad7fb..457efb4800df3e52614d746b9dba2cb1109cc538 100755 (executable)
--- a/configure
+++ b/configure
@@ -683,7 +683,6 @@ HAVE_SSL
 PC_CRYPTO_DEPENDENCY
 CONFIG_DATE
 NETBSD_LINTFLAGS
-GCC_DOCKER_LINTFLAGS
 PYUNBOUND_UNINSTALL
 PYUNBOUND_INSTALL
 PYUNBOUND_TARGET
@@ -17889,10 +17888,6 @@ if test "`uname`" = "NetBSD"; then
 
 fi
 
-if test "`uname -o`" = "GNU/Linux"; then
-       # splint cannot parse modern c99 header files
-       GCC_DOCKER_LINTFLAGS='-syntax'
-fi
 CONFIG_DATE=`date +%Y%m%d`
 
 
index fe911723c87e9cfbc230e02797c711f0f740d38b..128232b1ce1a4aa232f7f4426e15d025e0fec225 100644 (file)
@@ -776,6 +776,12 @@ if test "`uname`" = "NetBSD"; then
        NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
        AC_SUBST(NETBSD_LINTFLAGS)
 fi
+
+if test "`uname -o`" = "GNU/Linux"; then
+       # splint cannot parse modern c99 header files
+       GCC_DOCKER_LINTFLAGS='-syntax'
+       AC_SUBST(GCC_DOCKER_LINTFLAGS)
+fi
 CONFIG_DATE=`date +%Y%m%d`
 AC_SUBST(CONFIG_DATE)
 
similarity index 100%
rename from Dockerfile
rename to contrib/Dockerfile.tests
index 122bf02f3fd8fd051eaf3c901ebfdeaba81881da..376f01717fdd63b180a951009b356724f95e036d 100644 (file)
@@ -16,7 +16,7 @@ You need to have the following programs installed and in your PATH.
 The optional programs are detected and can be omitted.
 
 You can also use prepared Dockerfile to run tests inside docker based on latest gcc image:
-* build container: docker build -t unbound-tester .
+* build container: docker build -t unbound-tester -f contrib/Dockerfile.tests .
 * run container: docker run -it --mount type=bind,source="$(pwd)",target=/usr/src/unbound --rm unbound-tester
 * configure environment: ./configure
 * run test: make test
index b3df164e6e07e5d373a9a312de54732126af6cf0..11c642a2bc384cafb8a57d1d737c68699ab1fe80 100644 (file)
@@ -1232,13 +1232,6 @@ ssl_handshake(struct comm_point* c)
                if(want == SSL_ERROR_WANT_READ) {
                        if(c->ssl_shake_state == comm_ssl_shake_read)
                                return 1;
-                       /* According to https://www.openssl.org/docs/man1.1.1/man3/SSL_do_handshake.html
-                        * we should repeat handshake - for non blocking BIO
-                        */
-                       if(c->ssl_shake_state == comm_ssl_shake_write) {
-                           comm_point_listen_for_rw(c, 0, 1);
-                           return 1;
-                       }
                        c->ssl_shake_state = comm_ssl_shake_read;
                        comm_point_listen_for_rw(c, 1, 0);
                        return 1;