mirror of https://github.com/postgres/postgres
Do not try to decrypt data not actually read by returning directly if we reached the end of file or got an error. If we get a short read we also return directly which is safe snice pg_tde_crypt() supports any offset, not just multiples of the AES block size. This likely makes it a bit trickier to move to OpenSSL's built-in CTR which we probably want to do in the future but let's cross that bridge when we get to it.pull/220/head
parent
ad2c0a7d3a
commit
ec471de84f
Loading…
Reference in new issue