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

Appearance settings

Commit 87f29f4

Browse filesBrowse files
committed
Fix incorrect comments in hmac.c and hmac_openssl.c
Both files referred to pg_hmac_ctx->data, which, I guess, comes from the early versions of the patch that has resulted in commit e6bdfd9. Author: Sergey Shinderuk Discussion: https://postgr.es/m/8cbb56dd-63d6-a581-7a65-25a97ac4be03@postgrespro.ru Backpatch-through: 14
1 parent db6736c commit 87f29f4
Copy full SHA for 87f29f4

File tree

Expand file treeCollapse file tree

2 files changed

+2
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-6
lines changed

‎src/common/hmac.c

Copy file name to clipboardExpand all lines: src/common/hmac.c
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
#define FREE(ptr) free(ptr)
3939
#endif
4040

41-
/*
42-
* Internal structure for pg_hmac_ctx->data with this implementation.
43-
*/
41+
/* Internal pg_hmac_ctx structure */
4442
struct pg_hmac_ctx
4543
{
4644
pg_cryptohash_ctx *hash;

‎src/common/hmac_openssl.c

Copy file name to clipboardExpand all lines: src/common/hmac_openssl.c
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@
5050
#define FREE(ptr) free(ptr)
5151
#endif /* FRONTEND */
5252

53-
/*
54-
* Internal structure for pg_hmac_ctx->data with this implementation.
55-
*/
53+
/* Internal pg_hmac_ctx structure */
5654
struct pg_hmac_ctx
5755
{
5856
HMAC_CTX *hmacctx;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.