]> git.sur5r.net Git - bacula/bacula/commit
backup.c: Send the cryptographic session data for all files. This includes zero-lengt...
authorLandon Fuller <landonf@opendarwin.org>
Sun, 29 Apr 2007 20:47:09 +0000 (20:47 +0000)
committerLandon Fuller <landonf@opendarwin.org>
Sun, 29 Apr 2007 20:47:09 +0000 (20:47 +0000)
commitc96db1706a7a568d8a96aff4a095f0d995f48f67
tree222828c5f6fbb89e043e766bf2c88e6bf5cd0050
parentae514fa2ed82ddb7329bab1a7c20e107b23cf9d2
backup.c: Send the cryptographic session data for all files. This includes zero-length files with non-zero-length resource forks.
restore.c: Allocate the cipher decryption context on-demand, thus disabling decryption / allocation of cipher context for zero-length files.

Fixes: #838
Regression tests passed:
  - compressed-encrypt-test
  - data-encrypt-test
  - encrypt-bug-test

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4663 91ce42f0-d328-0410-95d8-f526ca767f89
bacula/src/filed/backup.c
bacula/src/filed/restore.c