mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -38,9 +38,7 @@
|
|||||||
#define FREE(ptr) free(ptr)
|
#define FREE(ptr) free(ptr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/* Internal pg_hmac_ctx structure */
|
||||||
* Internal structure for pg_hmac_ctx->data with this implementation.
|
|
||||||
*/
|
|
||||||
struct pg_hmac_ctx
|
struct pg_hmac_ctx
|
||||||
{
|
{
|
||||||
pg_cryptohash_ctx *hash;
|
pg_cryptohash_ctx *hash;
|
||||||
|
@ -50,9 +50,7 @@
|
|||||||
#define FREE(ptr) free(ptr)
|
#define FREE(ptr) free(ptr)
|
||||||
#endif /* FRONTEND */
|
#endif /* FRONTEND */
|
||||||
|
|
||||||
/*
|
/* Internal pg_hmac_ctx structure */
|
||||||
* Internal structure for pg_hmac_ctx->data with this implementation.
|
|
||||||
*/
|
|
||||||
struct pg_hmac_ctx
|
struct pg_hmac_ctx
|
||||||
{
|
{
|
||||||
HMAC_CTX *hmacctx;
|
HMAC_CTX *hmacctx;
|
||||||
|
Reference in New Issue
Block a user