aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-07-22 10:16:21 +0900
committerMichael Paquier <michael@paquier.xyz>2020-07-22 10:16:21 +0900
commite47c2602aa4d35a4e3eb6ada40454c6c0f1279bf (patch)
treef7ac2b8b1f59b1dac40d1eae38a6f88bfe2c7f21
parentbd0d893aa7aa303d7f344e267a9d3e53b0219491 (diff)
downloadpostgresql-e47c2602aa4d35a4e3eb6ada40454c6c0f1279bf.tar.gz
postgresql-e47c2602aa4d35a4e3eb6ada40454c6c0f1279bf.zip
Fix comment in sha2.h
An incorrect reference to SHA-1 was present. Author: Daniel Gustafsson Discussion: https://postgr.es/m/FE26C953-FA87-4BB9-9105-AA1F8705B0D0@yesql.se
-rw-r--r--src/include/common/sha2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/common/sha2.h b/src/include/common/sha2.h
index 673e75b5343..9c4abf777d4 100644
--- a/src/include/common/sha2.h
+++ b/src/include/common/sha2.h
@@ -68,7 +68,7 @@
#define PG_SHA512_DIGEST_LENGTH 64
#define PG_SHA512_DIGEST_STRING_LENGTH (PG_SHA512_DIGEST_LENGTH * 2 + 1)
-/* Context Structures for SHA-1/224/256/384/512 */
+/* Context Structures for SHA224/256/384/512 */
#ifdef USE_OPENSSL
typedef SHA256_CTX pg_sha256_ctx;
typedef SHA512_CTX pg_sha512_ctx;