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

Commit 87f29f4

Browse 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

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/common/hmac.c

+1-3
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

+1-3
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)