]> 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)
commit6bf6fc7db09acd631c0257d0f7c1e6affcb6d1ea
tree69c598e9f622ebb0ce0ea9f2c40964ebd4723a6a
parentb64db88c25d3773d66bc2d59c6b1f1257c9fe9b2
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