summaryrefslogtreecommitdiff
path: root/src/charon-tkm/tests/diffie_hellman_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon-tkm/tests/diffie_hellman_tests.c')
-rw-r--r--src/charon-tkm/tests/diffie_hellman_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon-tkm/tests/diffie_hellman_tests.c b/src/charon-tkm/tests/diffie_hellman_tests.c
index 89658a770..5ef6f41ab 100644
--- a/src/charon-tkm/tests/diffie_hellman_tests.c
+++ b/src/charon-tkm/tests/diffie_hellman_tests.c
@@ -40,7 +40,7 @@ START_TEST(test_dh_get_my_pubvalue)
fail_if(!dh, "Unable to create DH");
chunk_t value;
- dh->dh.get_my_public_value(&dh->dh, &value);
+ ck_assert(dh->dh.get_my_public_value(&dh->dh, &value));
dh->dh.destroy(&dh->dh);
fail_if(value.ptr == NULL, "Pubvalue is NULL");