summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_def.c
diff options
context:
space:
mode:
authortb <>2024-11-01 18:34:06 +0000
committertb <>2024-11-01 18:34:06 +0000
commit12b149689e9ecef5eabf56c91c4a00f1d0742bd0 (patch)
tree50dbf2120c2d877acc8fd462ded3fb682c9f7c17 /src/lib/libcrypto/x509/x509_def.c
parentd4ca6fa06f50f56e26012c7847abb219e21f3d1a (diff)
downloadopenbsd-12b149689e9ecef5eabf56c91c4a00f1d0742bd0.tar.gz
openbsd-12b149689e9ecef5eabf56c91c4a00f1d0742bd0.tar.bz2
openbsd-12b149689e9ecef5eabf56c91c4a00f1d0742bd0.zip
Only include cryptlib.h where it's needed
Clean up the other includes while there.
Diffstat (limited to 'src/lib/libcrypto/x509/x509_def.c')
-rw-r--r--src/lib/libcrypto/x509/x509_def.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_def.c b/src/lib/libcrypto/x509/x509_def.c
index f85781afdd..aca40329dc 100644
--- a/src/lib/libcrypto/x509/x509_def.c
+++ b/src/lib/libcrypto/x509/x509_def.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_def.c,v 1.7 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: x509_def.c,v 1.8 2024/11/01 18:34:06 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -56,11 +56,10 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <stdio.h>
60#include "cryptlib.h"
61#include <openssl/crypto.h>
62#include <openssl/x509.h> 59#include <openssl/x509.h>
63 60
61#include "cryptlib.h"
62
64const char * 63const char *
65X509_get_default_private_dir(void) 64X509_get_default_private_dir(void)
66{ 65{