aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.h
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2021-09-25 11:25:48 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2021-09-25 11:25:48 +0200
commita69e1506f618d4577bf7fdbfea51924a44c6e7de (patch)
treeb4e5a543d94af9000697a38df43bd2862281135a /contrib/postgres_fdw/postgres_fdw.h
parent52f8575a9e75e67ed7a7ae1585be28a85e85ae0e (diff)
downloadpostgresql-a69e1506f618d4577bf7fdbfea51924a44c6e7de.tar.gz
postgresql-a69e1506f618d4577bf7fdbfea51924a44c6e7de.zip
pgcrypto: Check for error return of px_cipher_decrypt()
This has previously not been a problem (that anyone ever reported), but in future OpenSSL versions (3.0.0), where legacy ciphers are/can be disabled, this is the place where this is reported. So we need to catch the error here, otherwise the higher-level functions would return garbage. The nearby encryption code already handled errors similarly. Author: Peter Eisentraut <peter@eisentraut.org> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/9e9c431c-0adc-7a6d-9b1a-915de1ba3fe7@enterprisedb.com Backpatch-through: 9.6
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions