From fff54ce6f89dc250caa3afdffa7e17d2e889329a Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Thu, 5 Aug 2010 23:47:33 +0200 Subject: Don't set the master key in an example program. That is an operation reserved for root, and should be done during system initialization. --- examples/ncr_lib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/ncr_lib.c') diff --git a/examples/ncr_lib.c b/examples/ncr_lib.c index c041ca7..b68a43c 100644 --- a/examples/ncr_lib.c +++ b/examples/ncr_lib.c @@ -187,8 +187,6 @@ test_ncr_store_wrap_key(void) */ fprintf(stdout, "\tKey Storage wrap test...\n"); - /* create master key */ - DIAGNOSTIC_CALL(ncr_masterkey_set, DKEY, 16); /* create empty key2 */ DIAGNOSTIC_CALL(ncr_key_init, &key2); /* import into a key2 */ -- cgit