diff options
| author | tb <> | 2022-11-26 16:08:57 +0000 |
|---|---|---|
| committer | tb <> | 2022-11-26 16:08:57 +0000 |
| commit | 81d98bf600a381a625eb11b39a725b08c0ba547f (patch) | |
| tree | 556ebf909e81599dc3d8da585217d1576eabe0e4 /src/regress/lib/libssl/unit | |
| parent | 9171ca1447e11e58ff2d00ba6d28293a138ae41a (diff) | |
| download | openbsd-81d98bf600a381a625eb11b39a725b08c0ba547f.tar.gz openbsd-81d98bf600a381a625eb11b39a725b08c0ba547f.tar.bz2 openbsd-81d98bf600a381a625eb11b39a725b08c0ba547f.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/regress/lib/libssl/unit')
| -rw-r--r-- | src/regress/lib/libssl/unit/cipher_list.c | 4 | ||||
| -rw-r--r-- | src/regress/lib/libssl/unit/ssl_versions.c | 4 | ||||
| -rw-r--r-- | src/regress/lib/libssl/unit/tls_ext_alpn.c | 4 | ||||
| -rw-r--r-- | src/regress/lib/libssl/unit/tls_prf.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/regress/lib/libssl/unit/cipher_list.c b/src/regress/lib/libssl/unit/cipher_list.c index 543db41c24..a63c5ae69f 100644 --- a/src/regress/lib/libssl/unit/cipher_list.c +++ b/src/regress/lib/libssl/unit/cipher_list.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cipher_list.c,v 1.12 2022/10/02 16:38:23 jsing Exp $ */ | 1 | /* $OpenBSD: cipher_list.c,v 1.13 2022/11/26 16:08:57 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
| 4 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> |
| @@ -39,7 +39,7 @@ | |||
| 39 | #include <stdio.h> | 39 | #include <stdio.h> |
| 40 | #include <string.h> | 40 | #include <string.h> |
| 41 | 41 | ||
| 42 | #include "ssl_locl.h" | 42 | #include "ssl_local.h" |
| 43 | 43 | ||
| 44 | #include "tests.h" | 44 | #include "tests.h" |
| 45 | 45 | ||
diff --git a/src/regress/lib/libssl/unit/ssl_versions.c b/src/regress/lib/libssl/unit/ssl_versions.c index e9bcecafe5..261bed3a7a 100644 --- a/src/regress/lib/libssl/unit/ssl_versions.c +++ b/src/regress/lib/libssl/unit/ssl_versions.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_versions.c,v 1.18 2022/10/02 16:38:23 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_versions.c,v 1.19 2022/11/26 16:08:57 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | #include <openssl/ssl.h> | 18 | #include <openssl/ssl.h> |
| 19 | 19 | ||
| 20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
| 21 | 21 | ||
| 22 | struct version_range_test { | 22 | struct version_range_test { |
| 23 | const long options; | 23 | const long options; |
diff --git a/src/regress/lib/libssl/unit/tls_ext_alpn.c b/src/regress/lib/libssl/unit/tls_ext_alpn.c index f0e4894557..d00f3efb5f 100644 --- a/src/regress/lib/libssl/unit/tls_ext_alpn.c +++ b/src/regress/lib/libssl/unit/tls_ext_alpn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.8 2022/10/02 16:38:23 jsing Exp $ */ | 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.9 2022/11/26 16:08:57 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
| 4 | * | 4 | * |
| @@ -21,7 +21,7 @@ | |||
| 21 | #include <stdio.h> | 21 | #include <stdio.h> |
| 22 | #include <openssl/ssl.h> | 22 | #include <openssl/ssl.h> |
| 23 | 23 | ||
| 24 | #include "ssl_locl.h" | 24 | #include "ssl_local.h" |
| 25 | #include "ssl_tlsext.h" | 25 | #include "ssl_tlsext.h" |
| 26 | 26 | ||
| 27 | #include "tests.h" | 27 | #include "tests.h" |
diff --git a/src/regress/lib/libssl/unit/tls_prf.c b/src/regress/lib/libssl/unit/tls_prf.c index bf0de1f044..a22d0e70d0 100644 --- a/src/regress/lib/libssl/unit/tls_prf.c +++ b/src/regress/lib/libssl/unit/tls_prf.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls_prf.c,v 1.7 2022/06/10 22:00:15 tb Exp $ */ | 1 | /* $OpenBSD: tls_prf.c,v 1.8 2022/11/26 16:08:57 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | #include <err.h> | 18 | #include <err.h> |
| 19 | 19 | ||
| 20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
| 21 | 21 | ||
| 22 | int tls1_PRF(SSL *s, const unsigned char *secret, size_t secret_len, | 22 | int tls1_PRF(SSL *s, const unsigned char *secret, size_t secret_len, |
| 23 | const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len, | 23 | const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len, |
