Add a CMS API test
authorMatt Caswell <matt@openssl.org>
Tue, 1 May 2018 08:32:30 +0000 (09:32 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 8 May 2018 07:43:39 +0000 (08:43 +0100)
commite15e92dbd5248bc8dbd95d2c0af33a6daf8f7255
tree2ce5cbf2beed6a188787f7a0532b1409cdeb9b9f
parent3d551b20df1acd01f80d3ae00d37177e0fdf344a
Add a CMS API test

Previous tests only invoked CMS via the command line app. This test uses
the CMS API directly to do and encrypt and decrypt operation. This test
would have caught the memory leak fixed by the previous commit (when
building with enable-crypto-mdebug).

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6142)
test/build.info
test/cmsapitest.c [new file with mode: 0644]
test/recipes/80-test_cmsapi.t [new file with mode: 0644]