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/regress/lib/libcrypto/evp | |
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/regress/lib/libcrypto/evp')
-rw-r--r-- | src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c | 4 | ||||
-rw-r--r-- | src/regress/lib/libcrypto/evp/evp_test.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c b/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c index 5f8cc20d74..20a385588e 100644 --- a/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c +++ b/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_pkey_cleanup.c,v 1.1 2022/03/30 08:57:26 tb Exp $ */ | 1 | /* $OpenBSD: evp_pkey_cleanup.c,v 1.2 2022/11/26 16:08:56 tb Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <openssl/evp.h> | 21 | #include <openssl/evp.h> |
22 | 22 | ||
23 | #include "evp_locl.h" | 23 | #include "evp_local.h" |
24 | 24 | ||
25 | struct pkey_cleanup_test { | 25 | struct pkey_cleanup_test { |
26 | const char *name; | 26 | const char *name; |
diff --git a/src/regress/lib/libcrypto/evp/evp_test.c b/src/regress/lib/libcrypto/evp/evp_test.c index c4721cc365..dbfe442377 100644 --- a/src/regress/lib/libcrypto/evp/evp_test.c +++ b/src/regress/lib/libcrypto/evp/evp_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_test.c,v 1.2 2022/11/09 17:15:59 jsing Exp $ */ | 1 | /* $OpenBSD: evp_test.c,v 1.3 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -18,7 +18,7 @@ | |||
18 | #include <openssl/evp.h> | 18 | #include <openssl/evp.h> |
19 | #include <openssl/ossl_typ.h> | 19 | #include <openssl/ossl_typ.h> |
20 | 20 | ||
21 | #include "evp_locl.h" | 21 | #include "evp_local.h" |
22 | 22 | ||
23 | static int | 23 | static int |
24 | evp_asn1_method_test(void) | 24 | evp_asn1_method_test(void) |