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/sm3 | |
| 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/sm3')
| -rw-r--r-- | src/lib/libcrypto/sm3/sm3.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/sm3/sm3_local.h (renamed from src/lib/libcrypto/sm3/sm3_locl.h) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sm3/sm3.c b/src/lib/libcrypto/sm3/sm3.c index ff6240a0bb..1a96146807 100644 --- a/src/lib/libcrypto/sm3/sm3.c +++ b/src/lib/libcrypto/sm3/sm3.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: sm3.c,v 1.1 2018/11/11 06:53:31 tb Exp $ */ | 1 | /* $OpenBSD: sm3.c,v 1.2 2022/11/26 16:08:54 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
| 4 | * | 4 | * |
| @@ -19,7 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | #include <openssl/sm3.h> | 20 | #include <openssl/sm3.h> |
| 21 | 21 | ||
| 22 | #include "sm3_locl.h" | 22 | #include "sm3_local.h" |
| 23 | 23 | ||
| 24 | int | 24 | int |
| 25 | SM3_Init(SM3_CTX *c) | 25 | SM3_Init(SM3_CTX *c) |
diff --git a/src/lib/libcrypto/sm3/sm3_locl.h b/src/lib/libcrypto/sm3/sm3_local.h index 6ecf8094f9..a941e59c39 100644 --- a/src/lib/libcrypto/sm3/sm3_locl.h +++ b/src/lib/libcrypto/sm3/sm3_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: sm3_locl.h,v 1.1 2018/11/11 06:53:31 tb Exp $ */ | 1 | /* $OpenBSD: sm3_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
| 4 | * | 4 | * |
