summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-01-21 08:53:10 +0000
committerflorian <florian@openbsd.org>2017-01-21 08:53:10 +0000
commita77927c26a56d66a642659545f6d1fa6c28bf3f5 (patch)
treede2f6abe081aff431b0a1278088155a13da80960
parentRemove backup option. This is not acme-client's business; also it gets (diff)
downloadwireguard-openbsd-a77927c26a56d66a642659545f6d1fa6c28bf3f5.tar.xz
wireguard-openbsd-a77927c26a56d66a642659545f6d1fa6c28bf3f5.zip
remove unused vars; OK benno
-rw-r--r--usr.sbin/acme-client/fileproc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/acme-client/fileproc.c b/usr.sbin/acme-client/fileproc.c
index dfe2a547773..ee8bc1103a5 100644
--- a/usr.sbin/acme-client/fileproc.c
+++ b/usr.sbin/acme-client/fileproc.c
@@ -1,4 +1,4 @@
-/* $Id: fileproc.c,v 1.7 2017/01/21 08:52:30 florian Exp $ */
+/* $Id: fileproc.c,v 1.8 2017/01/21 08:53:10 florian Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -22,7 +22,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <time.h>
#include <unistd.h>
#include "extern.h"
@@ -65,12 +64,10 @@ int
fileproc(int certsock, const char *certdir)
{
char *csr = NULL, *ch = NULL;
- char file[PATH_MAX];
size_t chsz, csz;
int rc = 0;
long lval;
enum fileop op;
- time_t t;
/* File-system and sandbox jailing. */