openssl: 05-test_rand.t failing for debug builds

Whenever I build with --debug or debug-VC-WIN32, one of the tests (looks like drbg_cavs_test) in 05-test_rand.t fails. This does not happen when building release version. I’ve attached a log file with the results of the build and the tests.

I’m using this configuration: perl Configure VC-WIN32 no-asm --prefix=%prefix_base%%prefix_ext% --debug

test_debug.log

Is there something that I’m missing to make it pass?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 50 (38 by maintainers)

Most upvoted comments

I’ve also used dependency walker to confirm that libcrypto-1_1.dll is built with msvcr120d.dll while drbg_cavs_test.exe has msvcr120.dll. How else should I specify that this particular test should be built with the other dll?

You probably can’t do much about it kimaluco17. Seems to be an issue with the build configuration. I guess @levitte is already looking into it.

(Or what else did you mean with “the code cited above” which is not needed anymore?)

Oh, I misunderstood you. You meant the creation of the wrappers bio_out and bio_err.