summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bounce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.c b/bounce.c
index 0f10c26..b2764e2 100644
--- a/bounce.c
+++ b/bounce.c
@@ -355,6 +355,7 @@ int main(int argc, char *argv[]) {
 
 	struct Cert localCA = { -1, -1, "" };
 	if (caPath) {
+		error = 0;
 		const char *dirs = NULL;
 		for (const char *path; NULL != (path = configPath(&dirs, caPath));) {
 			error = certOpen(&localCA, path);