/testdata/.perfstats.txt
/doc/html
/doc/xml
-.idea
PC_CRYPTO_DEPENDENCY
CONFIG_DATE
NETBSD_LINTFLAGS
-GCC_DOCKER_LINTFLAGS
PYUNBOUND_UNINSTALL
PYUNBOUND_INSTALL
PYUNBOUND_TARGET
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`
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)
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
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;