git: cryptosoft - Fix useless compression detection

Alex Hornung alexh at crater.dragonflybsd.org
Fri Aug 20 23:55:34 PDT 2010


commit 1f26af6e4b0512d444bd50fe484b8aaf2ab93e6f
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sat Aug 21 07:49:27 2010 +0100

    cryptosoft - Fix useless compression detection
    
    * If the result of the compression has the same size as the input, it's
      also useless; not only when it's bigger.
    
    * This seems to fix several issues with consumers that would send the
      data out without noting that compression was used.
    
    Obtained-from: FreeBSD

Summary of changes:
 sys/opencrypto/cryptosoft.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f26af6e4b0512d444bd50fe484b8aaf2ab93e6f


-- 
DragonFly BSD source repository





More information about the Commits mailing list