1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00
Peter Eisentraut 22e1943f13 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
2021-03-23 11:48:37 +01:00
..
2010-09-20 22:08:53 +02:00
2010-09-20 22:08:53 +02:00
2017-06-21 15:35:54 -04:00
2021-01-02 13:06:25 -05:00
2019-05-22 12:55:34 -04:00
2019-05-22 13:04:48 -04:00
2016-09-30 14:04:16 -04:00
2019-05-22 13:04:48 -04:00
2017-06-21 15:19:25 -04:00