#include <syslog.h>
#include <errno.h>
#include <fcntl.h>
+#include <time.h>
#include "openbsd.h"
#include "doas.h"
return rv;
}
+void
+authfail(void)
+{
+ printf("%s\n", getinsult());
+ errx(1, "Authentication failed");
+}
+
int
main(int argc, char **argv)
{