aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-03-23 11:35:12 +0100
committerPeter Eisentraut <peter@eisentraut.org>2021-03-23 11:48:37 +0100
commit22e1943f13b66df22ea4f8d15836411ba259263a (patch)
treeb22bcb0193b6eeec1fd3aa15e840fc83e71225bf /contrib/postgres_fdw/postgres_fdw.h
parenta6715af1e72da289474011be1e2d536f991eda34 (diff)
downloadpostgresql-22e1943f13b66df22ea4f8d15836411ba259263a.tar.gz
postgresql-22e1943f13b66df22ea4f8d15836411ba259263a.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. Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/9e9c431c-0adc-7a6d-9b1a-915de1ba3fe7@enterprisedb.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions