Add context id getter to TKM nonce generator

This commit is contained in:
Adrian-Ken Rueegsegger
2013-03-19 15:23:46 +01:00
committed by Tobias Brunner
parent ebe592a393
commit 601de9f36f
3 changed files with 17 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@ START_TEST(test_nonceg_creation)
ng = tkm_nonceg_create();
fail_if(ng == NULL, "Error creating tkm nonce generator");
fail_if(ng->get_id(ng) == 0, "Invalid context id (0)");
ng->nonce_gen.destroy(&ng->nonce_gen);
}