diff options
author | tb <> | 2022-11-26 16:08:57 +0000 |
---|---|---|
committer | tb <> | 2022-11-26 16:08:57 +0000 |
commit | d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49 (patch) | |
tree | 556ebf909e81599dc3d8da585217d1576eabe0e4 /src/lib/libcrypto/asn1 | |
parent | bcbac728558eebfaa4404c405e7dc22769585345 (diff) | |
download | openbsd-d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49.tar.gz openbsd-d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49.tar.bz2 openbsd-d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49.zip |
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.
Adjust all .c files in libcrypto, libssl and regress.
The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.
discussed with jsing,
no objection bcook
Diffstat (limited to 'src/lib/libcrypto/asn1')
42 files changed, 92 insertions, 92 deletions
diff --git a/src/lib/libcrypto/asn1/a_enum.c b/src/lib/libcrypto/asn1/a_enum.c index b35fe43666..d7c8181ea9 100644 --- a/src/lib/libcrypto/asn1/a_enum.c +++ b/src/lib/libcrypto/asn1/a_enum.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_enum.c,v 1.27 2022/09/03 18:45:51 jsing Exp $ */ | 1 | /* $OpenBSD: a_enum.c,v 1.28 2022/11/26 16:08:50 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 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/buffer.h> | 65 | #include <openssl/buffer.h> |
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | #include "bytestring.h" | 69 | #include "bytestring.h" |
70 | 70 | ||
71 | /* | 71 | /* |
diff --git a/src/lib/libcrypto/asn1/a_mbstr.c b/src/lib/libcrypto/asn1/a_mbstr.c index 8cff3ae1ca..06b674ef41 100644 --- a/src/lib/libcrypto/asn1/a_mbstr.c +++ b/src/lib/libcrypto/asn1/a_mbstr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_mbstr.c,v 1.24 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: a_mbstr.c,v 1.25 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/asn1.h> | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | static int traverse_string(const unsigned char *p, int len, int inform, | 68 | static int traverse_string(const unsigned char *p, int len, int inform, |
69 | int (*rfunc)(unsigned long value, void *in), void *arg); | 69 | int (*rfunc)(unsigned long value, void *in), void *arg); |
diff --git a/src/lib/libcrypto/asn1/a_object.c b/src/lib/libcrypto/asn1/a_object.c index 2ee6c17dc6..8c8ca8537f 100644 --- a/src/lib/libcrypto/asn1/a_object.c +++ b/src/lib/libcrypto/asn1/a_object.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_object.c,v 1.48 2022/05/13 16:32:10 tb Exp $ */ | 1 | /* $OpenBSD: a_object.c,v 1.49 2022/11/26 16:08:50 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 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/buffer.h> | 66 | #include <openssl/buffer.h> |
67 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
68 | 68 | ||
69 | #include "asn1_locl.h" | 69 | #include "asn1_local.h" |
70 | 70 | ||
71 | const ASN1_ITEM ASN1_OBJECT_it = { | 71 | const ASN1_ITEM ASN1_OBJECT_it = { |
72 | .itype = ASN1_ITYPE_PRIMITIVE, | 72 | .itype = ASN1_ITYPE_PRIMITIVE, |
diff --git a/src/lib/libcrypto/asn1/a_pkey.c b/src/lib/libcrypto/asn1/a_pkey.c index 3b8dea7db5..c440861443 100644 --- a/src/lib/libcrypto/asn1/a_pkey.c +++ b/src/lib/libcrypto/asn1/a_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_pkey.c,v 1.3 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: a_pkey.c,v 1.4 2022/11/26 16:08:50 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 | * |
@@ -71,8 +71,8 @@ | |||
71 | #include <openssl/engine.h> | 71 | #include <openssl/engine.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "asn1_locl.h" | 74 | #include "asn1_local.h" |
75 | #include "evp_locl.h" | 75 | #include "evp_local.h" |
76 | 76 | ||
77 | EVP_PKEY * | 77 | EVP_PKEY * |
78 | d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | 78 | d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) |
diff --git a/src/lib/libcrypto/asn1/a_pubkey.c b/src/lib/libcrypto/asn1/a_pubkey.c index f3bb5d81a6..5f5df103b8 100644 --- a/src/lib/libcrypto/asn1/a_pubkey.c +++ b/src/lib/libcrypto/asn1/a_pubkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_pubkey.c,v 1.3 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: a_pubkey.c,v 1.4 2022/11/26 16:08:50 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 | * |
@@ -76,7 +76,7 @@ | |||
76 | #include <openssl/rsa.h> | 76 | #include <openssl/rsa.h> |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #include "evp_locl.h" | 79 | #include "evp_local.h" |
80 | 80 | ||
81 | EVP_PKEY * | 81 | EVP_PKEY * |
82 | d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | 82 | d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) |
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c index 848d1bffd7..91aa8d2643 100644 --- a/src/lib/libcrypto/asn1/a_strex.c +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_strex.c,v 1.31 2021/12/25 12:11:57 jsing Exp $ */ | 1 | /* $OpenBSD: a_strex.c,v 1.32 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/crypto.h> | 63 | #include <openssl/crypto.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | #include "charmap.h" | 68 | #include "charmap.h" |
69 | 69 | ||
diff --git a/src/lib/libcrypto/asn1/a_string.c b/src/lib/libcrypto/asn1/a_string.c index ef36f50c0d..7a6ef97751 100644 --- a/src/lib/libcrypto/asn1/a_string.c +++ b/src/lib/libcrypto/asn1/a_string.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_string.c,v 1.11 2022/05/20 08:04:21 tb Exp $ */ | 1 | /* $OpenBSD: a_string.c,v 1.12 2022/11/26 16:08:50 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 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/asn1.h> | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | ASN1_STRING * | 68 | ASN1_STRING * |
69 | ASN1_STRING_new(void) | 69 | ASN1_STRING_new(void) |
diff --git a/src/lib/libcrypto/asn1/a_time.c b/src/lib/libcrypto/asn1/a_time.c index a951b32049..fda06d4b99 100644 --- a/src/lib/libcrypto/asn1/a_time.c +++ b/src/lib/libcrypto/asn1/a_time.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_time.c,v 1.35 2022/11/08 12:56:00 beck Exp $ */ | 1 | /* $OpenBSD: a_time.c,v 1.36 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/asn1t.h> | 67 | #include <openssl/asn1t.h> |
68 | #include <openssl/err.h> | 68 | #include <openssl/err.h> |
69 | 69 | ||
70 | #include "asn1_locl.h" | 70 | #include "asn1_local.h" |
71 | 71 | ||
72 | const ASN1_ITEM ASN1_TIME_it = { | 72 | const ASN1_ITEM ASN1_TIME_it = { |
73 | .itype = ASN1_ITYPE_MSTRING, | 73 | .itype = ASN1_ITYPE_MSTRING, |
diff --git a/src/lib/libcrypto/asn1/a_time_tm.c b/src/lib/libcrypto/asn1/a_time_tm.c index 459f4a27e0..c8b0172621 100644 --- a/src/lib/libcrypto/asn1/a_time_tm.c +++ b/src/lib/libcrypto/asn1/a_time_tm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_time_tm.c,v 1.26 2022/11/22 21:23:16 tb Exp $ */ | 1 | /* $OpenBSD: a_time_tm.c,v 1.27 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -25,7 +25,7 @@ | |||
25 | #include <openssl/err.h> | 25 | #include <openssl/err.h> |
26 | 26 | ||
27 | #include "bytestring.h" | 27 | #include "bytestring.h" |
28 | #include "asn1_locl.h" | 28 | #include "asn1_local.h" |
29 | 29 | ||
30 | #define RFC5280 0 | 30 | #define RFC5280 0 |
31 | #define GENTIME_LENGTH 15 | 31 | #define GENTIME_LENGTH 15 |
diff --git a/src/lib/libcrypto/asn1/a_utf8.c b/src/lib/libcrypto/asn1/a_utf8.c index 113a3a2e36..51ab1bdb28 100644 --- a/src/lib/libcrypto/asn1/a_utf8.c +++ b/src/lib/libcrypto/asn1/a_utf8.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_utf8.c,v 1.8 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: a_utf8.c,v 1.9 2022/11/26 16:08:50 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 | * |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/asn1.h> | 61 | #include <openssl/asn1.h> |
62 | 62 | ||
63 | #include "asn1_locl.h" | 63 | #include "asn1_local.h" |
64 | 64 | ||
65 | /* UTF8 utilities */ | 65 | /* UTF8 utilities */ |
66 | 66 | ||
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c index 143c010dfa..e9f9927620 100644 --- a/src/lib/libcrypto/asn1/ameth_lib.c +++ b/src/lib/libcrypto/asn1/ameth_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ameth_lib.c,v 1.29 2022/11/10 16:37:51 jsing Exp $ */ | 1 | /* $OpenBSD: ameth_lib.c,v 1.30 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -68,8 +68,8 @@ | |||
68 | #include <openssl/engine.h> | 68 | #include <openssl/engine.h> |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | #include "asn1_locl.h" | 71 | #include "asn1_local.h" |
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; | 74 | extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; |
75 | extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; | 75 | extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; |
diff --git a/src/lib/libcrypto/asn1/asn1_gen.c b/src/lib/libcrypto/asn1/asn1_gen.c index a37091ce7d..b64aa8966a 100644 --- a/src/lib/libcrypto/asn1/asn1_gen.c +++ b/src/lib/libcrypto/asn1/asn1_gen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_gen.c,v 1.19 2022/05/24 19:56:13 tb Exp $ */ | 1 | /* $OpenBSD: asn1_gen.c,v 1.20 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509v3.h> | 63 | #include <openssl/x509v3.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | 66 | ||
67 | #define ASN1_GEN_FLAG 0x10000 | 67 | #define ASN1_GEN_FLAG 0x10000 |
68 | #define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1) | 68 | #define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1) |
diff --git a/src/lib/libcrypto/asn1/asn1_item.c b/src/lib/libcrypto/asn1/asn1_item.c index f133f9b46c..9e7f308ed1 100644 --- a/src/lib/libcrypto/asn1/asn1_item.c +++ b/src/lib/libcrypto/asn1/asn1_item.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_item.c,v 1.5 2022/05/24 20:20:19 tb Exp $ */ | 1 | /* $OpenBSD: asn1_item.c,v 1.6 2022/11/26 16:08:50 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 | * |
@@ -116,8 +116,8 @@ | |||
116 | #include <openssl/evp.h> | 116 | #include <openssl/evp.h> |
117 | #include <openssl/x509.h> | 117 | #include <openssl/x509.h> |
118 | 118 | ||
119 | #include "asn1_locl.h" | 119 | #include "asn1_local.h" |
120 | #include "evp_locl.h" | 120 | #include "evp_local.h" |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * ASN1_ITEM version of dup: this follows the model above except we don't need | 123 | * ASN1_ITEM version of dup: this follows the model above except we don't need |
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_local.h index 8180e9b0fc..ed40e18ec9 100644 --- a/src/lib/libcrypto/asn1/asn1_locl.h +++ b/src/lib/libcrypto/asn1/asn1_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_locl.h,v 1.41 2022/11/10 14:46:44 jsing Exp $ */ | 1 | /* $OpenBSD: asn1_local.h,v 1.1 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
diff --git a/src/lib/libcrypto/asn1/asn1_old.c b/src/lib/libcrypto/asn1/asn1_old.c index 59e9cdb101..d7f0d968cd 100644 --- a/src/lib/libcrypto/asn1/asn1_old.c +++ b/src/lib/libcrypto/asn1/asn1_old.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_old.c,v 1.2 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: asn1_old.c,v 1.3 2022/11/26 16:08:50 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 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | #ifndef NO_OLD_ASN1 | 68 | #ifndef NO_OLD_ASN1 |
69 | 69 | ||
diff --git a/src/lib/libcrypto/asn1/asn1_old_lib.c b/src/lib/libcrypto/asn1/asn1_old_lib.c index a4d3cc71b4..f19cb1ca22 100644 --- a/src/lib/libcrypto/asn1/asn1_old_lib.c +++ b/src/lib/libcrypto/asn1/asn1_old_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_old_lib.c,v 1.4 2022/05/05 19:18:56 jsing Exp $ */ | 1 | /* $OpenBSD: asn1_old_lib.c,v 1.5 2022/11/26 16:08:50 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 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/asn1.h> | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | static void asn1_put_length(unsigned char **pp, int length); | 68 | static void asn1_put_length(unsigned char **pp, int length); |
69 | 69 | ||
diff --git a/src/lib/libcrypto/asn1/asn_mime.c b/src/lib/libcrypto/asn1/asn_mime.c index 3150214378..48bd9d1e12 100644 --- a/src/lib/libcrypto/asn1/asn_mime.c +++ b/src/lib/libcrypto/asn1/asn_mime.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn_mime.c,v 1.29 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: asn_mime.c,v 1.30 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -62,8 +62,8 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | /* Generalised MIME like utilities for streaming ASN1. Although many | 68 | /* Generalised MIME like utilities for streaming ASN1. Although many |
69 | * have a PKCS7/CMS like flavour others are more general purpose. | 69 | * have a PKCS7/CMS like flavour others are more general purpose. |
diff --git a/src/lib/libcrypto/asn1/asn_moid.c b/src/lib/libcrypto/asn1/asn_moid.c index c672f0ae94..166ebae3fb 100644 --- a/src/lib/libcrypto/asn1/asn_moid.c +++ b/src/lib/libcrypto/asn1/asn_moid.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn_moid.c,v 1.14 2022/01/07 11:13:54 tb Exp $ */ | 1 | /* $OpenBSD: asn_moid.c,v 1.15 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/crypto.h> | 65 | #include <openssl/crypto.h> |
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | 69 | ||
70 | /* Simple ASN1 OID module: add all objects in a given section */ | 70 | /* Simple ASN1 OID module: add all objects in a given section */ |
71 | 71 | ||
diff --git a/src/lib/libcrypto/asn1/p5_pbev2.c b/src/lib/libcrypto/asn1/p5_pbev2.c index d88a4dfc64..85818a900a 100644 --- a/src/lib/libcrypto/asn1/p5_pbev2.c +++ b/src/lib/libcrypto/asn1/p5_pbev2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p5_pbev2.c,v 1.27 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: p5_pbev2.c,v 1.28 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999-2004. | 3 | * project 1999-2004. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | 68 | ||
69 | /* PKCS#5 v2.0 password based encryption structures */ | 69 | /* PKCS#5 v2.0 password based encryption structures */ |
70 | 70 | ||
diff --git a/src/lib/libcrypto/asn1/p8_pkey.c b/src/lib/libcrypto/asn1/p8_pkey.c index 18659a6f40..24f1457453 100644 --- a/src/lib/libcrypto/asn1/p8_pkey.c +++ b/src/lib/libcrypto/asn1/p8_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p8_pkey.c,v 1.20 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: p8_pkey.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* Minor tweak to operation: zero private key data */ | 67 | /* Minor tweak to operation: zero private key data */ |
68 | static int | 68 | static int |
diff --git a/src/lib/libcrypto/asn1/t_crl.c b/src/lib/libcrypto/asn1/t_crl.c index 3ded015d2f..34c9200a03 100644 --- a/src/lib/libcrypto/asn1/t_crl.c +++ b/src/lib/libcrypto/asn1/t_crl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_crl.c,v 1.20 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: t_crl.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | int | 71 | int |
72 | X509_CRL_print_fp(FILE *fp, X509_CRL *x) | 72 | X509_CRL_print_fp(FILE *fp, X509_CRL *x) |
diff --git a/src/lib/libcrypto/asn1/t_pkey.c b/src/lib/libcrypto/asn1/t_pkey.c index d1f77219ea..0392dc41d7 100644 --- a/src/lib/libcrypto/asn1/t_pkey.c +++ b/src/lib/libcrypto/asn1/t_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_pkey.c,v 1.18 2022/11/10 13:09:34 jsing Exp $ */ | 1 | /* $OpenBSD: t_pkey.c,v 1.19 2022/11/26 16:08:50 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 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/buffer.h> | 62 | #include <openssl/buffer.h> |
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | 64 | ||
65 | #include "bn_lcl.h" | 65 | #include "bn_local.h" |
66 | 66 | ||
67 | int | 67 | int |
68 | ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, | 68 | ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, |
diff --git a/src/lib/libcrypto/asn1/t_req.c b/src/lib/libcrypto/asn1/t_req.c index 81f7dd29e8..0ede4cebc9 100644 --- a/src/lib/libcrypto/asn1/t_req.c +++ b/src/lib/libcrypto/asn1/t_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_req.c,v 1.23 2022/08/30 08:45:06 tb Exp $ */ | 1 | /* $OpenBSD: t_req.c,v 1.24 2022/11/26 16:08:50 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 | * |
@@ -74,7 +74,7 @@ | |||
74 | #include <openssl/rsa.h> | 74 | #include <openssl/rsa.h> |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #include "x509_lcl.h" | 77 | #include "x509_local.h" |
78 | 78 | ||
79 | int | 79 | int |
80 | X509_REQ_print_fp(FILE *fp, X509_REQ *x) | 80 | X509_REQ_print_fp(FILE *fp, X509_REQ *x) |
diff --git a/src/lib/libcrypto/asn1/t_spki.c b/src/lib/libcrypto/asn1/t_spki.c index 56c0956ceb..2da8717a58 100644 --- a/src/lib/libcrypto/asn1/t_spki.c +++ b/src/lib/libcrypto/asn1/t_spki.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_spki.c,v 1.13 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: t_spki.c,v 1.14 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -71,7 +71,7 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "x509_lcl.h" | 74 | #include "x509_local.h" |
75 | 75 | ||
76 | /* Print out an SPKI */ | 76 | /* Print out an SPKI */ |
77 | 77 | ||
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index 5f520f5cb8..d0fbf9049a 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_x509.c,v 1.40 2022/08/11 10:36:32 tb Exp $ */ | 1 | /* $OpenBSD: t_x509.c,v 1.41 2022/11/26 16:08:50 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 | * |
@@ -77,8 +77,8 @@ | |||
77 | #include <openssl/rsa.h> | 77 | #include <openssl/rsa.h> |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #include "asn1_locl.h" | 80 | #include "asn1_local.h" |
81 | #include "x509_lcl.h" | 81 | #include "x509_local.h" |
82 | 82 | ||
83 | int | 83 | int |
84 | X509_print_fp(FILE *fp, X509 *x) | 84 | X509_print_fp(FILE *fp, X509 *x) |
diff --git a/src/lib/libcrypto/asn1/t_x509a.c b/src/lib/libcrypto/asn1/t_x509a.c index 6745318b9c..09e5ecd387 100644 --- a/src/lib/libcrypto/asn1/t_x509a.c +++ b/src/lib/libcrypto/asn1/t_x509a.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_x509a.c,v 1.10 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: t_x509a.c,v 1.11 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* X509_CERT_AUX and string set routines */ | 67 | /* X509_CERT_AUX and string set routines */ |
68 | 68 | ||
diff --git a/src/lib/libcrypto/asn1/tasn_dec.c b/src/lib/libcrypto/asn1/tasn_dec.c index 5e0692e009..0c2357c2bb 100644 --- a/src/lib/libcrypto/asn1/tasn_dec.c +++ b/src/lib/libcrypto/asn1/tasn_dec.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_dec.c,v 1.83 2022/09/03 19:15:23 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_dec.c,v 1.84 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
68 | 68 | ||
69 | #include "asn1_locl.h" | 69 | #include "asn1_local.h" |
70 | #include "bytestring.h" | 70 | #include "bytestring.h" |
71 | 71 | ||
72 | /* | 72 | /* |
diff --git a/src/lib/libcrypto/asn1/tasn_enc.c b/src/lib/libcrypto/asn1/tasn_enc.c index e0f26b9cdb..55e65895f8 100644 --- a/src/lib/libcrypto/asn1/tasn_enc.c +++ b/src/lib/libcrypto/asn1/tasn_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_enc.c,v 1.26 2022/10/17 18:03:15 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_enc.c,v 1.27 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | 68 | ||
69 | static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, | 69 | static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, |
70 | const ASN1_ITEM *it, int tag, int aclass); | 70 | const ASN1_ITEM *it, int tag, int aclass); |
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c index cc7b838cc5..38f3764f18 100644 --- a/src/lib/libcrypto/asn1/tasn_fre.c +++ b/src/lib/libcrypto/asn1/tasn_fre.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_fre.c,v 1.20 2022/05/12 19:55:58 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_fre.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | 66 | ||
67 | static void asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it); | 67 | static void asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it); |
68 | 68 | ||
diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c index 83b0fce50b..5d436cf25c 100644 --- a/src/lib/libcrypto/asn1/tasn_new.c +++ b/src/lib/libcrypto/asn1/tasn_new.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_new.c,v 1.22 2022/05/10 05:19:22 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_new.c,v 1.23 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/asn1t.h> | 64 | #include <openssl/asn1t.h> |
65 | #include <string.h> | 65 | #include <string.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | 68 | ||
69 | static int asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); | 69 | static int asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); |
70 | static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); | 70 | static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); |
diff --git a/src/lib/libcrypto/asn1/tasn_prn.c b/src/lib/libcrypto/asn1/tasn_prn.c index 54ec56ec25..7f93e4876a 100644 --- a/src/lib/libcrypto/asn1/tasn_prn.c +++ b/src/lib/libcrypto/asn1/tasn_prn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_prn.c,v 1.22 2021/12/03 17:10:49 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_prn.c,v 1.23 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | 69 | ||
70 | /* Print routines. | 70 | /* Print routines. |
71 | */ | 71 | */ |
diff --git a/src/lib/libcrypto/asn1/x_attrib.c b/src/lib/libcrypto/asn1/x_attrib.c index e8822a33a5..d116094c10 100644 --- a/src/lib/libcrypto/asn1/x_attrib.c +++ b/src/lib/libcrypto/asn1/x_attrib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_attrib.c,v 1.17 2022/05/09 19:19:33 jsing Exp $ */ | 1 | /* $OpenBSD: x_attrib.c,v 1.18 2022/11/26 16:08:50 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 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* | 67 | /* |
68 | * XXX - remove X509_ATTRIBUTE_SET_it with next major bump. | 68 | * XXX - remove X509_ATTRIBUTE_SET_it with next major bump. |
diff --git a/src/lib/libcrypto/asn1/x_bignum.c b/src/lib/libcrypto/asn1/x_bignum.c index d1f735b47d..bfcf941993 100644 --- a/src/lib/libcrypto/asn1/x_bignum.c +++ b/src/lib/libcrypto/asn1/x_bignum.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_bignum.c,v 1.12 2022/07/30 13:42:25 jsing Exp $ */ | 1 | /* $OpenBSD: x_bignum.c,v 1.13 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1t.h> | 61 | #include <openssl/asn1t.h> |
62 | #include <openssl/bn.h> | 62 | #include <openssl/bn.h> |
63 | 63 | ||
64 | #include "asn1_locl.h" | 64 | #include "asn1_local.h" |
65 | #include "bytestring.h" | 65 | #include "bytestring.h" |
66 | 66 | ||
67 | /* | 67 | /* |
diff --git a/src/lib/libcrypto/asn1/x_crl.c b/src/lib/libcrypto/asn1/x_crl.c index 35d9007f7c..9c300af808 100644 --- a/src/lib/libcrypto/asn1/x_crl.c +++ b/src/lib/libcrypto/asn1/x_crl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_crl.c,v 1.37 2022/02/24 22:05:06 beck Exp $ */ | 1 | /* $OpenBSD: x_crl.c,v 1.38 2022/11/26 16:08:50 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 | * |
@@ -65,8 +65,8 @@ | |||
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | static int X509_REVOKED_cmp(const X509_REVOKED * const *a, | 71 | static int X509_REVOKED_cmp(const X509_REVOKED * const *a, |
72 | const X509_REVOKED * const *b); | 72 | const X509_REVOKED * const *b); |
diff --git a/src/lib/libcrypto/asn1/x_exten.c b/src/lib/libcrypto/asn1/x_exten.c index aba8973632..fc54b49747 100644 --- a/src/lib/libcrypto/asn1/x_exten.c +++ b/src/lib/libcrypto/asn1/x_exten.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_exten.c,v 1.17 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x_exten.c,v 1.18 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1.h> | 61 | #include <openssl/asn1.h> |
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | static const ASN1_TEMPLATE X509_EXTENSION_seq_tt[] = { | 66 | static const ASN1_TEMPLATE X509_EXTENSION_seq_tt[] = { |
67 | { | 67 | { |
diff --git a/src/lib/libcrypto/asn1/x_long.c b/src/lib/libcrypto/asn1/x_long.c index 543c56a5b2..aafdb9c2e5 100644 --- a/src/lib/libcrypto/asn1/x_long.c +++ b/src/lib/libcrypto/asn1/x_long.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_long.c,v 1.18 2022/07/02 18:14:35 jsing Exp $ */ | 1 | /* $OpenBSD: x_long.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/bn.h> | 63 | #include <openssl/bn.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * Custom primitive type for long handling. This converts between an | 69 | * Custom primitive type for long handling. This converts between an |
diff --git a/src/lib/libcrypto/asn1/x_name.c b/src/lib/libcrypto/asn1/x_name.c index 4c698ac2f0..ea3a3c8714 100644 --- a/src/lib/libcrypto/asn1/x_name.c +++ b/src/lib/libcrypto/asn1/x_name.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_name.c,v 1.37 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: x_name.c,v 1.38 2022/11/26 16:08:50 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 | * |
@@ -64,8 +64,8 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY; | 70 | typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY; |
71 | DECLARE_STACK_OF(STACK_OF_X509_NAME_ENTRY) | 71 | DECLARE_STACK_OF(STACK_OF_X509_NAME_ENTRY) |
diff --git a/src/lib/libcrypto/asn1/x_pubkey.c b/src/lib/libcrypto/asn1/x_pubkey.c index a2c3d88e8a..4c255d634e 100644 --- a/src/lib/libcrypto/asn1/x_pubkey.c +++ b/src/lib/libcrypto/asn1/x_pubkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_pubkey.c,v 1.32 2022/05/24 19:59:14 tb Exp $ */ | 1 | /* $OpenBSD: x_pubkey.c,v 1.33 2022/11/26 16:08:50 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 | * |
@@ -71,9 +71,9 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "asn1_locl.h" | 74 | #include "asn1_local.h" |
75 | #include "evp_locl.h" | 75 | #include "evp_local.h" |
76 | #include "x509_lcl.h" | 76 | #include "x509_local.h" |
77 | 77 | ||
78 | /* Minor tweak to operation: free up EVP_PKEY */ | 78 | /* Minor tweak to operation: free up EVP_PKEY */ |
79 | static int | 79 | static int |
diff --git a/src/lib/libcrypto/asn1/x_req.c b/src/lib/libcrypto/asn1/x_req.c index 38e3790bf4..42b917333a 100644 --- a/src/lib/libcrypto/asn1/x_req.c +++ b/src/lib/libcrypto/asn1/x_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_req.c,v 1.18 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x_req.c,v 1.19 2022/11/26 16:08:50 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 | * |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1t.h> | 61 | #include <openssl/asn1t.h> |
62 | #include <openssl/x509.h> | 62 | #include <openssl/x509.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | /* X509_REQ_INFO is handled in an unusual way to get round | 66 | /* X509_REQ_INFO is handled in an unusual way to get round |
67 | * invalid encodings. Some broken certificate requests don't | 67 | * invalid encodings. Some broken certificate requests don't |
diff --git a/src/lib/libcrypto/asn1/x_sig.c b/src/lib/libcrypto/asn1/x_sig.c index 6a842da5f0..9406a2d65b 100644 --- a/src/lib/libcrypto/asn1/x_sig.c +++ b/src/lib/libcrypto/asn1/x_sig.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_sig.c,v 1.13 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x_sig.c,v 1.14 2022/11/26 16:08:50 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 | * |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1t.h> | 61 | #include <openssl/asn1t.h> |
62 | #include <openssl/x509.h> | 62 | #include <openssl/x509.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | static const ASN1_TEMPLATE X509_SIG_seq_tt[] = { | 66 | static const ASN1_TEMPLATE X509_SIG_seq_tt[] = { |
67 | { | 67 | { |
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c index 7147069e83..227af88e82 100644 --- a/src/lib/libcrypto/asn1/x_x509.c +++ b/src/lib/libcrypto/asn1/x_x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_x509.c,v 1.30 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: x_x509.c,v 1.31 2022/11/26 16:08:50 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 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | static const ASN1_AUX X509_CINF_aux = { | 70 | static const ASN1_AUX X509_CINF_aux = { |
71 | .flags = ASN1_AFLG_ENCODING, | 71 | .flags = ASN1_AFLG_ENCODING, |
diff --git a/src/lib/libcrypto/asn1/x_x509a.c b/src/lib/libcrypto/asn1/x_x509a.c index 87dc045a5f..a5e1f71e1a 100644 --- a/src/lib/libcrypto/asn1/x_x509a.c +++ b/src/lib/libcrypto/asn1/x_x509a.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_x509a.c,v 1.18 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: x_x509a.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* X509_CERT_AUX routines. These are used to encode additional | 67 | /* X509_CERT_AUX routines. These are used to encode additional |
68 | * user modifiable data about a certificate. This data is | 68 | * user modifiable data about a certificate. This data is |