shithub: purgatorio

ref: 54bac038f411c10a596adf84c06df32f8c7c4c53
dir: /libinterp/sign.c/

View raw version
#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;
}