aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-12-04 12:58:44 +0900
committerMichael Paquier <michael@paquier.xyz>2020-12-04 12:58:44 +0900
commitbd94a9c04e04bb3b626e88981a50fcca2bd99d60 (patch)
treefc386a6cd043da9d074ac9818b36def2c719e7ee /src
parent4f48a6fbe2b28d8281dbbfa2d334fa2ed8472734 (diff)
downloadpostgresql-bd94a9c04e04bb3b626e88981a50fcca2bd99d60.tar.gz
postgresql-bd94a9c04e04bb3b626e88981a50fcca2bd99d60.zip
Rename cryptohashes.c to cryptohashfuncs.c
87ae969 has created two new files called cryptohash{_openssl}.c in src/common/, whose names overlap with the existing backend file called cryptohashes.c dedicated to the SQL wrappers for SHA2 and MD5. This file is renamed to cryptohashfuncs.c to be more consistent with the surroundings and reduce the confusion with the new cryptohash interface of src/common/. Author: Michael Paquier Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/X8hHhaQgbMbW+aGU@paquier.xyz
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/Makefile2
-rw-r--r--src/backend/utils/adt/cryptohashfuncs.c (renamed from src/backend/utils/adt/cryptohashes.c)4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/Makefile b/src/backend/utils/adt/Makefile
index b4d55e849b3..f6ec7b64cd4 100644
--- a/src/backend/utils/adt/Makefile
+++ b/src/backend/utils/adt/Makefile
@@ -22,7 +22,7 @@ OBJS = \
bool.o \
cash.o \
char.o \
- cryptohashes.o \
+ cryptohashfuncs.o \
date.o \
datetime.o \
datum.o \
diff --git a/src/backend/utils/adt/cryptohashes.c b/src/backend/utils/adt/cryptohashfuncs.c
index 5de294a7fda..47bc0b34828 100644
--- a/src/backend/utils/adt/cryptohashes.c
+++ b/src/backend/utils/adt/cryptohashfuncs.c
@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
- * cryptohashes.c
+ * cryptohashfuncs.c
* Cryptographic hash functions
*
* Portions Copyright (c) 2018-2020, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
- * src/backend/utils/adt/cryptohashes.c
+ * src/backend/utils/adt/cryptohashfuncs.c
*
*-------------------------------------------------------------------------
*/