[dovecot/core] bfed4b: lib-dcrypt: Don't finalize encryption on o_stream_...

GitHub noreply at github.com
Wed Sep 21 13:00:16 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: bfed4b149042b2b2a45bbc549c44c488c81553c5
      https://github.com/dovecot/core/commit/bfed4b149042b2b2a45bbc549c44c488c81553c5
  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