diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-01-13 09:43:44 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-01-13 09:43:44 +0900 |
commit | 3c1ffd02dd058666ddf27d7e621ab5bbc4b769bb (patch) | |
tree | e790ea73e5c226c5d7994cd58b0edaa233836c4c /src | |
parent | 41ee68a91f0fc8e1f6583e4f153d79578adb265c (diff) | |
download | postgresql-3c1ffd02dd058666ddf27d7e621ab5bbc4b769bb.tar.gz postgresql-3c1ffd02dd058666ddf27d7e621ab5bbc4b769bb.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/common/hmac.c | 4 | ||||
-rw-r--r-- | src/common/hmac_openssl.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/common/hmac.c b/src/common/hmac.c index bfe2e7cb5e9..1af7276ddcb 100644 --- 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 1acf59476eb..95b494400ab 100644 --- 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; |