Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitccf4e27

Browse files
committed
Remove PG_SHA*_DIGEST_STRING_LENGTH from sha2.h
The last reference to those variables has been removed inaef8948, sothis cleans up a bit the code.Discussion:https://postgr.es/m/X//ggAqmTtt+3t7X@paquier.xyz
1 parent5ae1572 commitccf4e27

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎src/include/common/sha2.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,11 @@
1818
/*** SHA224/256/384/512 Various Length Definitions ***********************/
1919
#definePG_SHA224_BLOCK_LENGTH64
2020
#definePG_SHA224_DIGEST_LENGTH28
21-
#definePG_SHA224_DIGEST_STRING_LENGTH(PG_SHA224_DIGEST_LENGTH * 2 + 1)
2221
#definePG_SHA256_BLOCK_LENGTH64
2322
#definePG_SHA256_DIGEST_LENGTH32
24-
#definePG_SHA256_DIGEST_STRING_LENGTH(PG_SHA256_DIGEST_LENGTH * 2 + 1)
2523
#definePG_SHA384_BLOCK_LENGTH128
2624
#definePG_SHA384_DIGEST_LENGTH48
27-
#definePG_SHA384_DIGEST_STRING_LENGTH(PG_SHA384_DIGEST_LENGTH * 2 + 1)
2825
#definePG_SHA512_BLOCK_LENGTH128
2926
#definePG_SHA512_DIGEST_LENGTH64
30-
#definePG_SHA512_DIGEST_STRING_LENGTH(PG_SHA512_DIGEST_LENGTH * 2 + 1)
3127

3228
#endif/* _PG_SHA2_H_ */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp