diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-08-05 23:47:33 +0200 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 20:58:31 +0200 |
| commit | 66e0510c847c0c0a96c94356de3c6d7d36bff95e (patch) | |
| tree | 30442c7fdb8b6027786901d4025a2db97a1e7b71 | |
| parent | 96c27f2d4b686bf501b13278057a89c6a0c15a16 (diff) | |
| download | cryptodev-linux-66e0510c847c0c0a96c94356de3c6d7d36bff95e.tar.gz cryptodev-linux-66e0510c847c0c0a96c94356de3c6d7d36bff95e.tar.xz cryptodev-linux-66e0510c847c0c0a96c94356de3c6d7d36bff95e.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.
| -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 */ |
