diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-05 23:47:33 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-23 20:01:59 +0200 |
commit | fff54ce6f89dc250caa3afdffa7e17d2e889329a (patch) | |
tree | 3c3540520ce0836c7d02ebe814f0cbd4a2084c34 /examples/ncr_lib.c | |
parent | a575a898c2e9a322e6a0db9cb3e9d0e6f3876c06 (diff) | |
download | cryptodev-linux-fff54ce6f89dc250caa3afdffa7e17d2e889329a.tar.gz cryptodev-linux-fff54ce6f89dc250caa3afdffa7e17d2e889329a.tar.xz cryptodev-linux-fff54ce6f89dc250caa3afdffa7e17d2e889329a.zip |
Don't set the master key in an example program.
That is an operation reserved for root, and should be done during system
initialization.
Diffstat (limited to 'examples/ncr_lib.c')
-rw-r--r-- | examples/ncr_lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 */ |