diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-11-26 16:08:58 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-11-26 16:08:58 +0000 |
commit | 38941b484a57ccbcadf2866de19613d214fae55b (patch) | |
tree | 149d0ae2c5ca3b764e168aa74c30999d39283299 /lib/libcrypto/hmac | |
parent | 8eacf7b1c332fcaa29bef8b33df255735ca4614f (diff) |
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 'lib/libcrypto/hmac')
-rw-r--r-- | lib/libcrypto/hmac/hm_ameth.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/hmac/hm_pmeth.c | 4 | ||||
-rw-r--r-- | lib/libcrypto/hmac/hmac.c | 4 | ||||
-rw-r--r-- | lib/libcrypto/hmac/hmac_local.h | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcrypto/hmac/hm_ameth.c b/lib/libcrypto/hmac/hm_ameth.c index 5b52af658cd..7e6ad6d69e1 100644 --- a/lib/libcrypto/hmac/hm_ameth.c +++ b/lib/libcrypto/hmac/hm_ameth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hm_ameth.c,v 1.18 2022/11/19 04:36:52 tb Exp $ */ +/* $OpenBSD: hm_ameth.c,v 1.19 2022/11/26 16:08:53 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2007. */ @@ -63,9 +63,9 @@ #include <openssl/evp.h> #include <openssl/hmac.h> -#include "asn1_locl.h" +#include "asn1_local.h" #include "bytestring.h" -#include "evp_locl.h" +#include "evp_local.h" #include "hmac_local.h" static int diff --git a/lib/libcrypto/hmac/hm_pmeth.c b/lib/libcrypto/hmac/hm_pmeth.c index 3ba5b47027e..bb043d1a237 100644 --- a/lib/libcrypto/hmac/hm_pmeth.c +++ b/lib/libcrypto/hmac/hm_pmeth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hm_pmeth.c,v 1.14 2022/11/18 14:45:10 tb Exp $ */ +/* $OpenBSD: hm_pmeth.c,v 1.15 2022/11/26 16:08:53 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2007. */ @@ -64,7 +64,7 @@ #include <openssl/x509.h> #include <openssl/x509v3.h> -#include "evp_locl.h" +#include "evp_local.h" #include "hmac_local.h" /* HMAC pkey context structure */ diff --git a/lib/libcrypto/hmac/hmac.c b/lib/libcrypto/hmac/hmac.c index b195ca680b2..047b67b9ea2 100644 --- a/lib/libcrypto/hmac/hmac.c +++ b/lib/libcrypto/hmac/hmac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hmac.c,v 1.29 2022/11/11 11:25:18 beck Exp $ */ +/* $OpenBSD: hmac.c,v 1.30 2022/11/26 16:08:53 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -63,7 +63,7 @@ #include <openssl/err.h> #include <openssl/hmac.h> -#include "evp_locl.h" +#include "evp_local.h" #include "hmac_local.h" int diff --git a/lib/libcrypto/hmac/hmac_local.h b/lib/libcrypto/hmac/hmac_local.h index 5900bc1c2d1..e06cd6a6c7d 100644 --- a/lib/libcrypto/hmac/hmac_local.h +++ b/lib/libcrypto/hmac/hmac_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hmac_local.h,v 1.3 2022/01/14 08:06:03 tb Exp $ */ +/* $OpenBSD: hmac_local.h,v 1.4 2022/11/26 16:08:53 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -62,7 +62,7 @@ #include <openssl/evp.h> -#include "evp_locl.h" +#include "evp_local.h" __BEGIN_HIDDEN_DECLS |