summaryrefslogtreecommitdiffstats
path: root/examples/pk_lib.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-07 08:47:14 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 20:58:32 +0200
commit0746a4c2bf359657b7fc9b0544a5cc0c5175a4d7 (patch)
tree21e7f1be02a72e957525e49528b61f8542b0efb6 /examples/pk_lib.c
parent0bb60fc9b52dcfbac8356db8682a3cb9c595813f (diff)
downloadcryptodev-linux-0746a4c2bf359657b7fc9b0544a5cc0c5175a4d7.tar.gz
cryptodev-linux-0746a4c2bf359657b7fc9b0544a5cc0c5175a4d7.tar.xz
cryptodev-linux-0746a4c2bf359657b7fc9b0544a5cc0c5175a4d7.zip
Provide a nicer example on including <ncrypto.h>
Diffstat (limited to 'examples/pk_lib.c')
-rw-r--r--examples/pk_lib.c4
1 files changed, 2 insertions, 2 deletions
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