diff options
Diffstat (limited to 'test/auth.c')
-rw-r--r-- | test/auth.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/auth.c b/test/auth.c index a0c87ee..7473346 100644 --- a/test/auth.c +++ b/test/auth.c @@ -700,6 +700,13 @@ static int serve_digest(ne_socket *sock, void *userdata) SEND_STRING(sock, resp); + /* Give up now if we've sent a challenge which should force the + * client to fail immediately: */ + if (parms->failure == fail_bogus_alg + || parms->failure == fail_req0_stale) { + return OK; + } + do { CALL(discard_request(sock)); |