git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db6736c)
Fix incorrect comments in hmac.c and hmac_openssl.c
2022年1月13日 00:43:36 +0000 (09:43 +0900)
2022年1月13日 00:43:36 +0000 (09:43 +0900)
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


diff --git a/src/common/hmac.c b/src/common/hmac.c
index 6e46dc28a133d2bad97903e1857d94b2f4a55cb0..d40026d3e99fce83b1363bf940d9496a5dd223d3 100644 (file)
--- a/src/common/hmac.c
+++ b/src/common/hmac.c
@@ -38,9 +38,7 @@
#define FREE(ptr) free(ptr)
#endif
-/*
- * Internal structure for pg_hmac_ctx->data with this implementation.
- */
+/* Internal pg_hmac_ctx structure */
struct pg_hmac_ctx
{
pg_cryptohash_ctx *hash;
diff --git a/src/common/hmac_openssl.c b/src/common/hmac_openssl.c
index d2cb5474bb9747f0407533326b3b5e611bda9839..7efa90c99e6107709e99659e3ce443b90dddc320 100644 (file)
--- a/src/common/hmac_openssl.c
+++ b/src/common/hmac_openssl.c
@@ -50,9 +50,7 @@
#define FREE(ptr) free(ptr)
#endif /* FRONTEND */
-/*
- * Internal structure for pg_hmac_ctx->data with this implementation.
- */
+/* Internal pg_hmac_ctx structure */
struct pg_hmac_ctx
{
HMAC_CTX *hmacctx;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /