summaryrefslogtreecommitdiff
path: root/nss/lib/ckfw/capi/anchor.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/lib/ckfw/capi/anchor.c')
-rw-r--r--nss/lib/ckfw/capi/anchor.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/nss/lib/ckfw/capi/anchor.c b/nss/lib/ckfw/capi/anchor.c
new file mode 100644
index 0000000..97f3f0d
--- /dev/null
+++ b/nss/lib/ckfw/capi/anchor.c
@@ -0,0 +1,17 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/*
+ * capi/canchor.c
+ *
+ * This file "anchors" the actual cryptoki entry points in this module's
+ * shared library, which is required for dynamic loading. See the
+ * comments in nssck.api for more information.
+ */
+
+#include "ckcapi.h"
+
+#define MODULE_NAME ckcapi
+#define INSTANCE_NAME (NSSCKMDInstance *)&nss_ckcapi_mdInstance
+#include "nssck.api"