test/drbgtest.c: Remove error check for large generate requests
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Sat, 4 Jul 2020 10:29:14 +0000 (12:29 +0200)
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Wed, 22 Jul 2020 23:12:48 +0000 (01:12 +0200)
commit8e3e1dfeaaa4130e2bf1951d21a0615b7ce72c8f
treed0574943dc92870e69829871d589b49da162fe1d
parent9fb6692c1b129fa61277ae0482975a935274c6fd
test/drbgtest.c: Remove error check for large generate requests

The behaviour of RAND_DRBG_generate() has changed. Previously, it
would fail for requests larger than max_request, now it automatically
splits large input into chunks (which was previously done only
by RAND_DRBG_bytes() before calling RAND_DRBG_generate()).

So this test has not only become obsolete, the fact that it succeeded
unexpectedly also caused a buffer overflow that terminated the test.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11195)
test/drbgtest.c