unit tests: include an OpenSSL header before including cmocka.h
OpenSSL 3.1.0 uses __attribute__(malloc)
, conflicting with a redefined
malloc in cmocka.h.
As a workaround, include an OpenSSL header file before including cmocka.h in the unit tests where OpenSSL is used.
Closes #4000 (closed)
Edited by Arаm Sаrgsyаn