projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0d893
)
Fix comment in sha2.h
author
Michael Paquier
<michael@paquier.xyz>
Wed, 22 Jul 2020 01:16:21 +0000
(10:16 +0900)
committer
Michael Paquier
<michael@paquier.xyz>
Wed, 22 Jul 2020 01:16:21 +0000
(10:16 +0900)
An incorrect reference to SHA-1 was present.
Author: Daniel Gustafsson
Discussion: https://postgr.es/m/
FE26C953
-FA87-4BB9-9105-
AA1F8705B0D0
@yesql.se
src/include/common/sha2.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/common/sha2.h
b/src/include/common/sha2.h
index 673e75b534366cbbd3f43626472aabafb3ca2158..9c4abf777d4393247243076bd081db1bc72853a7 100644
(file)
--- 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;