OpenSSL in unit tests - setup/teardown issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i'm working on unit tests for the new NTS stuff for NTP and am having
some issues with setup & teardown for OpenSSL; there may be an actual
bug here; i'm looking for some guidance.

NTP is currently using the Unity test framework, which is a fairly
standard unit testing package. i have two tests for NTS, one is for
a group of wrappers around some CMS calls, and the second exercises
a higher level set of functions.

the CMS wrapper tests complete successfully, but second set of tests
goes into an infinite loop inside a call to X509_ALGOR_new()
i have disabled all the actual tests in the CMS test section and
i have trimmed back the setup and teardown to the following, but
X509_ALGOR_new() is still going into an infinite loop in the setup
for the second batch of tests:


void setUp()
{
  OpenSSL_add_all_algorithms();
  ERR_load_crypto_strings();

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: OpenPGP digital signature
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160310/2d076b66/attachment.sig>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux