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/ts | |
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/ts')
-rw-r--r-- | src/lib/libcrypto/ts/ts_lib.c | 6 | ||||
-rw-r--r-- | src/lib/libcrypto/ts/ts_rsp_sign.c | 6 | ||||
-rw-r--r-- | src/lib/libcrypto/ts/ts_rsp_verify.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/ts/ts_lib.c b/src/lib/libcrypto/ts/ts_lib.c index b6d50a36fa..ae715fb6c9 100644 --- a/src/lib/libcrypto/ts/ts_lib.c +++ b/src/lib/libcrypto/ts/ts_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts_lib.c,v 1.12 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ts_lib.c,v 1.13 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -64,8 +64,8 @@ | |||
64 | #include <openssl/ts.h> | 64 | #include <openssl/ts.h> |
65 | #include <openssl/x509v3.h> | 65 | #include <openssl/x509v3.h> |
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_local.h" |
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | /* Local function declarations. */ | 70 | /* Local function declarations. */ |
71 | 71 | ||
diff --git a/src/lib/libcrypto/ts/ts_rsp_sign.c b/src/lib/libcrypto/ts/ts_rsp_sign.c index 5e152954bf..7ebadb1049 100644 --- a/src/lib/libcrypto/ts/ts_rsp_sign.c +++ b/src/lib/libcrypto/ts/ts_rsp_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts_rsp_sign.c,v 1.29 2022/07/24 20:02:04 tb Exp $ */ | 1 | /* $OpenBSD: ts_rsp_sign.c,v 1.30 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -65,9 +65,9 @@ | |||
65 | #include <openssl/pkcs7.h> | 65 | #include <openssl/pkcs7.h> |
66 | #include <openssl/ts.h> | 66 | #include <openssl/ts.h> |
67 | 67 | ||
68 | #include "evp_locl.h" | 68 | #include "evp_local.h" |
69 | #include "ts_local.h" | 69 | #include "ts_local.h" |
70 | #include "x509_lcl.h" | 70 | #include "x509_local.h" |
71 | 71 | ||
72 | /* Private function declarations. */ | 72 | /* Private function declarations. */ |
73 | 73 | ||
diff --git a/src/lib/libcrypto/ts/ts_rsp_verify.c b/src/lib/libcrypto/ts/ts_rsp_verify.c index a5829b35ca..dc467d8604 100644 --- a/src/lib/libcrypto/ts/ts_rsp_verify.c +++ b/src/lib/libcrypto/ts/ts_rsp_verify.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts_rsp_verify.c,v 1.28 2022/07/24 08:16:47 tb Exp $ */ | 1 | /* $OpenBSD: ts_rsp_verify.c,v 1.29 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -64,9 +64,9 @@ | |||
64 | #include <openssl/pkcs7.h> | 64 | #include <openssl/pkcs7.h> |
65 | #include <openssl/ts.h> | 65 | #include <openssl/ts.h> |
66 | 66 | ||
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | #include "ts_local.h" | 68 | #include "ts_local.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | /* Private function declarations. */ | 71 | /* Private function declarations. */ |
72 | 72 | ||