aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm/tests/diffie_hellman_tests.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-03-23 11:37:27 +0100
committerMartin Willi <martin@revosec.ch>2015-03-23 17:54:03 +0100
commit42431690e04a8614e759e0a3a3bcd76e30e6207e (patch)
tree4c473700dffe096c07d8117fb7a0df71fc5be56f /src/charon-tkm/tests/diffie_hellman_tests.c
parent8a7dbf3c2a0a4e8a4a503b630dbad0d46ae25756 (diff)
downloadstrongswan-42431690e04a8614e759e0a3a3bcd76e30e6207e.tar.bz2
strongswan-42431690e04a8614e759e0a3a3bcd76e30e6207e.tar.xz
diffie-hellman: Add a bool return value to get_my_public_value()
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");