Add context id getter to TKM DH implementation

This commit is contained in:
Adrian-Ken Rueegsegger
2013-03-19 15:23:46 +01:00
committed by Tobias Brunner
parent ba0d7d9a76
commit 528fc21ffe
3 changed files with 17 additions and 0 deletions
@@ -27,6 +27,7 @@ START_TEST(test_dh_creation)
dh = tkm_diffie_hellman_create(MODP_4096_BIT);
fail_if(!dh, "MODP_4096 not created");
fail_if(!dh->get_id(dh), "Invalid context id (0)");
dh->dh.destroy(&dh->dh);
}