[Opendnssec-user] Test suite for SoftHSMv2?

Petr Spacek pspacek at redhat.com
Fri Jan 15 10:31:55 UTC 2016

On 15.1.2016 02:35, Das, Abhishek wrote:
> Hi,
> I am new to SoftHSMv2; have been using for the last couple of weeks only. I am trying to build the "$(project_dir)/softhsm-2.0.0/src/lib/tests" test modules. However, I see there is no build script for the same. The makefile doesn't even generate object code for these test modules. Also, I am seeing a dependency on "cppunit" header files in each of the test files. Is "ccpunit" needed to run softhsm tests?
> Any help would be appreacited. My end goal is to create a test app for softhsmv2 such that can do crypto operations like RSA key generation and signing. The command line ulity only helps in token initialization, key migration etc. but not crypto.

Run "make check" in top-level build directory and that is it.

Fedora is using this set of packages for build:
openssl-devel >= 1.0.1k-6, sqlite-devel >= 3.4.2, cppunit-devel, gcc-c++,
pkgconfig, p11-kit-devel, nss-devel

Have a nice day!

Petr Spacek  @  Red Hat

More information about the Opendnssec-user mailing list