summaryrefslogtreecommitdiff
path: root/lib/libcrypto/sm3
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-11-26 16:08:58 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-11-26 16:08:58 +0000
commit38941b484a57ccbcadf2866de19613d214fae55b (patch)
tree149d0ae2c5ca3b764e168aa74c30999d39283299 /lib/libcrypto/sm3
parent8eacf7b1c332fcaa29bef8b33df255735ca4614f (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/sm3')
-rw-r--r--lib/libcrypto/sm3/sm3.c4
-rw-r--r--lib/libcrypto/sm3/sm3_local.h (renamed from lib/libcrypto/sm3/sm3_locl.h)2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/sm3/sm3.c b/lib/libcrypto/sm3/sm3.c
index ff6240a0bba..1a96146807b 100644
--- a/lib/libcrypto/sm3/sm3.c
+++ b/lib/libcrypto/sm3/sm3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sm3.c,v 1.1 2018/11/11 06:53:31 tb Exp $ */
+/* $OpenBSD: sm3.c,v 1.2 2022/11/26 16:08:54 tb Exp $ */
/*
* Copyright (c) 2018, Ribose Inc
*
@@ -19,7 +19,7 @@
#include <openssl/sm3.h>
-#include "sm3_locl.h"
+#include "sm3_local.h"
int
SM3_Init(SM3_CTX *c)
diff --git a/lib/libcrypto/sm3/sm3_locl.h b/lib/libcrypto/sm3/sm3_local.h
index 6ecf8094f9e..a941e59c39a 100644
--- a/lib/libcrypto/sm3/sm3_locl.h
+++ b/lib/libcrypto/sm3/sm3_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sm3_locl.h,v 1.1 2018/11/11 06:53:31 tb Exp $ */
+/* $OpenBSD: sm3_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */
/*
* Copyright (c) 2018, Ribose Inc
*