summaryrefslogtreecommitdiff
path: root/libinterp/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'libinterp/sign.c')
-rw-r--r--libinterp/sign.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/libinterp/sign.c b/libinterp/sign.c
new file mode 100644
index 00000000..950ad300
--- /dev/null
+++ b/libinterp/sign.c
@@ -0,0 +1,29 @@
+#include "lib9.h"
+#include "isa.h"
+#include "interp.h"
+#include <kernel.h>
+
+/*
+ * these stubs are used when devsign isn't configured
+ */
+
+int
+verifysigner(uchar *sign, int len, uchar *data, ulong ndata)
+{
+ USED(sign);
+ USED(len);
+ USED(data);
+ USED(ndata);
+
+ return 1;
+}
+
+int
+mustbesigned(char *path, uchar *code, ulong length, Dir *dir)
+{
+ USED(path);
+ USED(code);
+ USED(length);
+ USED(dir);
+ return 0;
+}