summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ct/ct_log.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/ct/ct_log.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/ct/ct_log.c')
-rw-r--r--src/lib/libcrypto/ct/ct_log.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ct/ct_log.c b/src/lib/libcrypto/ct/ct_log.c
index 514246ff4f..0b2b061167 100644
--- a/src/lib/libcrypto/ct/ct_log.c
+++ b/src/lib/libcrypto/ct/ct_log.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_log.c,v 1.7 2024/08/31 09:26:18 tb Exp $ */ 1/* $OpenBSD: ct_log.c,v 1.8 2024/11/01 18:34:06 tb Exp $ */
2/* Author: Adam Eijdenberg <adam.eijdenberg@gmail.com>. */ 2/* Author: Adam Eijdenberg <adam.eijdenberg@gmail.com>. */
3/* ==================================================================== 3/* ====================================================================
4 * Copyright (c) 1998-2016 The OpenSSL Project. All rights reserved. 4 * Copyright (c) 1998-2016 The OpenSSL Project. All rights reserved.
@@ -58,14 +58,17 @@
58 * https://www.openssl.org/source/license.html 58 * https://www.openssl.org/source/license.html
59 */ 59 */
60 60
61#include <stdint.h>
61#include <stdlib.h> 62#include <stdlib.h>
62#include <string.h> 63#include <string.h>
63 64
65#include <openssl/asn1.h>
64#include <openssl/conf.h> 66#include <openssl/conf.h>
65#include <openssl/ct.h> 67#include <openssl/ct.h>
66#include <openssl/err.h> 68#include <openssl/err.h>
67#include <openssl/evp.h> 69#include <openssl/evp.h>
68#include <openssl/safestack.h> 70#include <openssl/sha.h>
71#include <openssl/x509.h>
69 72
70#include "conf_local.h" 73#include "conf_local.h"
71 74