Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e47c260

Browse files
committed
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
1 parent bd0d893 commit e47c260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/common/sha2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#define PG_SHA512_DIGEST_LENGTH 64
6969
#define PG_SHA512_DIGEST_STRING_LENGTH (PG_SHA512_DIGEST_LENGTH * 2 + 1)
7070

71-
/* Context Structures for SHA-1/224/256/384/512 */
71+
/* Context Structures for SHA224/256/384/512 */
7272
#ifdef USE_OPENSSL
7373
typedef SHA256_CTX pg_sha256_ctx;
7474
typedef SHA512_CTX pg_sha512_ctx;

0 commit comments

Comments
 (0)