diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-04-02 15:38:39 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-04-02 15:53:05 +0200 |
commit | b482abe3bf62ef46816e81ccdab68bc24f498ce6 (patch) | |
tree | 6a808f137d34f1a353de04ee00f298582b4c97f2 /CMakeLists.txt | |
parent | 6100df4127eca5f9733cd5fa51acd32c8febd754 (diff) | |
download | libnitrokey-b482abe3bf62ef46816e81ccdab68bc24f498ce6.tar.gz libnitrokey-b482abe3bf62ef46816e81ccdab68bc24f498ce6.tar.bz2 |
Add test_memory test case
This patch adds a test_memory test case that demonstrates new[]/free
mismatches with the NK_read_config and NK_get_password_safe_slot_status
functions if run with valgrind, see #173.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1169e94..db8d2fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,6 +216,7 @@ IF (COMPILE_TESTS) unittest/test_HOTP.cc unittest/test1.cc unittest/test_issues.cc + unittest/test_memory.c unittest/test_multiple_devices.cc unittest/test_strdup.cpp unittest/test_safe.cpp |