summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ct
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/ct/ct_b64.c4
-rw-r--r--src/lib/libcrypto/ct/ct_log.c4
-rw-r--r--src/lib/libcrypto/ct/ct_oct.c4
-rw-r--r--src/lib/libcrypto/ct/ct_policy.c7
-rw-r--r--src/lib/libcrypto/ct/ct_sct.c4
-rw-r--r--src/lib/libcrypto/ct/ct_sct_ctx.c4
-rw-r--r--src/lib/libcrypto/ct/ct_vfy.c4
7 files changed, 16 insertions, 15 deletions
diff --git a/src/lib/libcrypto/ct/ct_b64.c b/src/lib/libcrypto/ct/ct_b64.c
index 101cd1e2b1..e6e0532add 100644
--- a/src/lib/libcrypto/ct/ct_b64.c
+++ b/src/lib/libcrypto/ct/ct_b64.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_b64.c,v 1.7 2023/07/08 07:22:58 beck Exp $ */ 1/* $OpenBSD: ct_b64.c,v 1.8 2025/05/10 05:54:38 tb Exp $ */
2/* 2/*
3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson 3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson
4 * (steve@openssl.org) for the OpenSSL project 2014. 4 * (steve@openssl.org) for the OpenSSL project 2014.
@@ -61,11 +61,11 @@
61#include <string.h> 61#include <string.h>
62 62
63#include <openssl/ct.h> 63#include <openssl/ct.h>
64#include <openssl/err.h>
65#include <openssl/evp.h> 64#include <openssl/evp.h>
66 65
67#include "bytestring.h" 66#include "bytestring.h"
68#include "ct_local.h" 67#include "ct_local.h"
68#include "err_local.h"
69 69
70/* 70/*
71 * Decodes the base64 string |in| into |out|. 71 * Decodes the base64 string |in| into |out|.
diff --git a/src/lib/libcrypto/ct/ct_log.c b/src/lib/libcrypto/ct/ct_log.c
index 72045477ac..48611df979 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.9 2024/11/05 09:35:40 tb Exp $ */ 1/* $OpenBSD: ct_log.c,v 1.10 2025/05/10 05:54:38 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.
@@ -65,13 +65,13 @@
65#include <openssl/asn1.h> 65#include <openssl/asn1.h>
66#include <openssl/conf.h> 66#include <openssl/conf.h>
67#include <openssl/ct.h> 67#include <openssl/ct.h>
68#include <openssl/err.h>
69#include <openssl/evp.h> 68#include <openssl/evp.h>
70#include <openssl/sha.h> 69#include <openssl/sha.h>
71#include <openssl/x509.h> 70#include <openssl/x509.h>
72 71
73#include "conf_local.h" 72#include "conf_local.h"
74#include "crypto_local.h" 73#include "crypto_local.h"
74#include "err_local.h"
75 75
76 76
77/* 77/*
diff --git a/src/lib/libcrypto/ct/ct_oct.c b/src/lib/libcrypto/ct/ct_oct.c
index 1f5e5c75d0..686d845f11 100644
--- a/src/lib/libcrypto/ct/ct_oct.c
+++ b/src/lib/libcrypto/ct/ct_oct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_oct.c,v 1.9 2023/07/08 07:22:58 beck Exp $ */ 1/* $OpenBSD: ct_oct.c,v 1.10 2025/05/10 05:54:38 tb Exp $ */
2/* 2/*
3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson 3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson
4 * (steve@openssl.org) for the OpenSSL project 2014. 4 * (steve@openssl.org) for the OpenSSL project 2014.
@@ -67,10 +67,10 @@
67#include <openssl/asn1.h> 67#include <openssl/asn1.h>
68#include <openssl/buffer.h> 68#include <openssl/buffer.h>
69#include <openssl/ct.h> 69#include <openssl/ct.h>
70#include <openssl/err.h>
71 70
72#include "bytestring.h" 71#include "bytestring.h"
73#include "ct_local.h" 72#include "ct_local.h"
73#include "err_local.h"
74 74
75int 75int
76o2i_SCT_signature(SCT *sct, CBS *cbs) 76o2i_SCT_signature(SCT *sct, CBS *cbs)
diff --git a/src/lib/libcrypto/ct/ct_policy.c b/src/lib/libcrypto/ct/ct_policy.c
index eb2b312019..a242b0d8f8 100644
--- a/src/lib/libcrypto/ct/ct_policy.c
+++ b/src/lib/libcrypto/ct/ct_policy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_policy.c,v 1.6 2023/07/08 07:22:58 beck Exp $ */ 1/* $OpenBSD: ct_policy.c,v 1.7 2025/05/10 05:54:38 tb Exp $ */
2/* 2/*
3 * Implementations of Certificate Transparency SCT policies. 3 * Implementations of Certificate Transparency SCT policies.
4 * Written by Rob Percival (robpercival@google.com) for the OpenSSL project. 4 * Written by Rob Percival (robpercival@google.com) for the OpenSSL project.
@@ -56,11 +56,12 @@
56# error "CT is disabled" 56# error "CT is disabled"
57#endif 57#endif
58 58
59#include <openssl/ct.h>
60#include <openssl/err.h>
61#include <time.h> 59#include <time.h>
62 60
61#include <openssl/ct.h>
62
63#include "ct_local.h" 63#include "ct_local.h"
64#include "err_local.h"
64 65
65/* 66/*
66 * Number of seconds in the future that an SCT timestamp can be, by default, 67 * Number of seconds in the future that an SCT timestamp can be, by default,
diff --git a/src/lib/libcrypto/ct/ct_sct.c b/src/lib/libcrypto/ct/ct_sct.c
index 4b2716e734..d647e34d92 100644
--- a/src/lib/libcrypto/ct/ct_sct.c
+++ b/src/lib/libcrypto/ct/ct_sct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_sct.c,v 1.10 2023/07/22 17:02:49 tb Exp $ */ 1/* $OpenBSD: ct_sct.c,v 1.11 2025/05/10 05:54:38 tb Exp $ */
2/* 2/*
3 * Written by Rob Stradling (rob@comodo.com), Stephen Henson (steve@openssl.org) 3 * Written by Rob Stradling (rob@comodo.com), Stephen Henson (steve@openssl.org)
4 * and Adam Eijdenberg (adam.eijdenberg@gmail.com) for the OpenSSL project 2016. 4 * and Adam Eijdenberg (adam.eijdenberg@gmail.com) for the OpenSSL project 2016.
@@ -67,11 +67,11 @@
67 67
68#include <openssl/asn1.h> 68#include <openssl/asn1.h>
69#include <openssl/ct.h> 69#include <openssl/ct.h>
70#include <openssl/err.h>
71#include <openssl/objects.h> 70#include <openssl/objects.h>
72#include <openssl/x509.h> 71#include <openssl/x509.h>
73 72
74#include "ct_local.h" 73#include "ct_local.h"
74#include "err_local.h"
75 75
76SCT * 76SCT *
77SCT_new(void) 77SCT_new(void)
diff --git a/src/lib/libcrypto/ct/ct_sct_ctx.c b/src/lib/libcrypto/ct/ct_sct_ctx.c
index b2b6d4e269..930c7df59b 100644
--- a/src/lib/libcrypto/ct/ct_sct_ctx.c
+++ b/src/lib/libcrypto/ct/ct_sct_ctx.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_sct_ctx.c,v 1.6 2022/06/30 11:14:47 tb Exp $ */ 1/* $OpenBSD: ct_sct_ctx.c,v 1.7 2025/05/10 05:54:38 tb Exp $ */
2/* 2/*
3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson 3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson
4 * (steve@openssl.org) for the OpenSSL project 2014. 4 * (steve@openssl.org) for the OpenSSL project 2014.
@@ -64,11 +64,11 @@
64#include <stddef.h> 64#include <stddef.h>
65#include <string.h> 65#include <string.h>
66 66
67#include <openssl/err.h>
68#include <openssl/objects.h> 67#include <openssl/objects.h>
69#include <openssl/x509.h> 68#include <openssl/x509.h>
70 69
71#include "ct_local.h" 70#include "ct_local.h"
71#include "err_local.h"
72 72
73SCT_CTX * 73SCT_CTX *
74SCT_CTX_new(void) 74SCT_CTX_new(void)
diff --git a/src/lib/libcrypto/ct/ct_vfy.c b/src/lib/libcrypto/ct/ct_vfy.c
index 424117263a..5dbb2096e1 100644
--- a/src/lib/libcrypto/ct/ct_vfy.c
+++ b/src/lib/libcrypto/ct/ct_vfy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_vfy.c,v 1.6 2022/01/06 14:34:40 jsing Exp $ */ 1/* $OpenBSD: ct_vfy.c,v 1.7 2025/05/10 05:54:38 tb Exp $ */
2/* 2/*
3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson 3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson
4 * (steve@openssl.org) for the OpenSSL project 2014. 4 * (steve@openssl.org) for the OpenSSL project 2014.
@@ -60,11 +60,11 @@
60#include <string.h> 60#include <string.h>
61 61
62#include <openssl/ct.h> 62#include <openssl/ct.h>
63#include <openssl/err.h>
64#include <openssl/evp.h> 63#include <openssl/evp.h>
65#include <openssl/x509.h> 64#include <openssl/x509.h>
66 65
67#include "ct_local.h" 66#include "ct_local.h"
67#include "err_local.h"
68 68
69typedef enum sct_signature_type_t { 69typedef enum sct_signature_type_t {
70 SIGNATURE_TYPE_NOT_SET = -1, 70 SIGNATURE_TYPE_NOT_SET = -1,