summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-07 08:47:14 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-23 20:01:59 +0200
commit139ed8c79c5258056832f3f14b8d32b7026274fd (patch)
tree1204974f9f0177a34229beb163f34e5362a73c9d
parente3bd8be964e355f83c1e6871f4c2b033103c3d0e (diff)
downloadcryptodev-linux-139ed8c79c5258056832f3f14b8d32b7026274fd.tar.gz
cryptodev-linux-139ed8c79c5258056832f3f14b8d32b7026274fd.tar.xz
cryptodev-linux-139ed8c79c5258056832f3f14b8d32b7026274fd.zip
Provide a nicer example on including <ncrypto.h>
-rw-r--r--examples/ncr_lib.c4
-rw-r--r--examples/pk_lib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/ncr_lib.c b/examples/ncr_lib.c
index d0f435e..ad69fe7 100644
--- a/examples/ncr_lib.c
+++ b/examples/ncr_lib.c
@@ -12,10 +12,10 @@
//#include <sys/ioctl.h>
#include <sys/types.h>
//#include <sys/stat.h>
-#include "../ncr.h"
-#include "../userspace/ncrypto.h"
#include <stdlib.h>
+#include <ncrypto.h>
+
#define DATA_SIZE 4096
#define KEY_DATA_SIZE 16
#define WRAPPED_KEY_DATA_SIZE 32
diff --git a/examples/pk_lib.c b/examples/pk_lib.c
index ff425d0..f85cbe0 100644
--- a/examples/pk_lib.c
+++ b/examples/pk_lib.c
@@ -12,9 +12,9 @@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include "../ncr.h"
-#include "../userspace/ncrypto.h"
#include <stdlib.h>
+
+#include <ncrypto.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#if GNUTLS_VERSION_NUMBER >= 0x020b00