summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-07-29 17:15:46 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-07-29 17:15:46 +0000
commit67d48f6d9c1bd7906f142c3b6885a2275dc25099 (patch)
treeb50003feb7f880121477d2feceb25f7b221cfa10 /usr.bin/openssl
parent1ddcc60e94980b6f07fb4ea77fb809598941711d (diff)
Drop unused conf, pem, and x509 headers, add unistd for pledge
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/enc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/openssl/enc.c b/usr.bin/openssl/enc.c
index 00ae0e1b7db..41732fd0568 100644
--- a/usr.bin/openssl/enc.c
+++ b/usr.bin/openssl/enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: enc.c,v 1.30 2023/06/11 12:06:08 tb Exp $ */
+/* $OpenBSD: enc.c,v 1.31 2023/07/29 17:15:45 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -59,16 +59,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "apps.h"
#include <openssl/bio.h>
-#include <openssl/comp.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
-#include <openssl/pem.h>
-#include <openssl/x509.h>
int set_hex(char *in, unsigned char *out, int size);