aboutsummaryrefslogtreecommitdiff
path: root/src/include/common/kmgr_utils.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-12-25 11:35:59 -0500
committerBruce Momjian <bruce@momjian.us>2020-12-25 11:35:59 -0500
commite35b2bad1a10a8eef9c1ffb563847b9c9df0cfce (patch)
tree365d8c0b38b849b2258f2c2565cdf54629b98775 /src/include/common/kmgr_utils.h
parent945083b2f7e6c19c8921c655cac6778acb1e3e03 (diff)
downloadpostgresql-e35b2bad1a10a8eef9c1ffb563847b9c9df0cfce.tar.gz
postgresql-e35b2bad1a10a8eef9c1ffb563847b9c9df0cfce.zip
remove uint128 requirement from patch 978f869b99 (CFE)
Used char[16] instead. Reported-by: buildfarm member florican Backpatch-through: master
Diffstat (limited to 'src/include/common/kmgr_utils.h')
-rw-r--r--src/include/common/kmgr_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/common/kmgr_utils.h b/src/include/common/kmgr_utils.h
index 23124a7fc60..ce26df56fb3 100644
--- a/src/include/common/kmgr_utils.h
+++ b/src/include/common/kmgr_utils.h
@@ -82,7 +82,7 @@ typedef struct CryptoKey
{
uint64 pgkey_id; /* Upper half of IV */
uint64 counter; /* Lower half of IV */
- uint128 tag; /* GCM tag */
+ unsigned char tag[16]; /* GCM tag */
unsigned char encrypted_key[sizeof(int) + KMGR_MAX_KEY_LEN_BYTES];
} CryptoKey;