[dovecot/core] f2edbc: lib-dcrypt: Don't finalize encryption on o_stream_...
GitHub
noreply at github.com
Wed Sep 21 13:00:09 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: f2edbc51be62d7da4a4b37a72f9832851f669caa
https://github.com/dovecot/core/commit/f2edbc51be62d7da4a4b37a72f9832851f669caa
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-09-21 (Wed, 21 Sep 2016)
Changed paths:
M src/lib-dcrypt/ostream-encrypt.c
Log Message:
-----------
lib-dcrypt: Don't finalize encryption on o_stream_flush()
For example the default o_stream_uncork() implementation enforces flushing
and it's probably better not to change that. In general there's really no
reason to perform the finalization at flush when the stream can't be written
to anymore (whereas lib-compression ostreams allow writes after flushes).
More information about the dovecot-cvs
mailing list