Remove openssl includes and fcntl.h neither of those are used in main.c.
authorclaudio <claudio@openbsd.org>
Thu, 4 Feb 2021 08:21:50 +0000 (08:21 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 4 Feb 2021 08:21:50 +0000 (08:21 +0000)
Add errno.h since this code makes direct use of errno.

usr.sbin/rpki-client/main.c

index 4289bc4..fd002e0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: main.c,v 1.93 2021/02/04 08:10:24 claudio Exp $ */
+/*     $OpenBSD: main.c,v 1.94 2021/02/04 08:21:50 claudio Exp $ */
 /*
  * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -52,8 +52,8 @@
 
 #include <assert.h>
 #include <err.h>
+#include <errno.h>
 #include <dirent.h>
-#include <fcntl.h>
 #include <fnmatch.h>
 #include <fts.h>
 #include <poll.h>
 #include <unistd.h>
 #include <imsg.h>
 
-#include <openssl/err.h>
-#include <openssl/evp.h>
-#include <openssl/x509v3.h>
-
 #include "extern.h"
 
 /*