Fix incorrect comments in hmac.c and hmac_openssl.c
authorMichael Paquier <michael@paquier.xyz>
Thu, 13 Jan 2022 00:43:36 +0000 (09:43 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 13 Jan 2022 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

src/common/hmac.c
src/common/hmac_openssl.c

index 6e46dc28a133d2bad97903e1857d94b2f4a55cb0..d40026d3e99fce83b1363bf940d9496a5dd223d3 100644 (file)
@@ -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;
index d2cb5474bb9747f0407533326b3b5e611bda9839..7efa90c99e6107709e99659e3ce443b90dddc320 100644 (file)
@@ -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;