make file cache updates more robust
only update the encrypted version after the write operation is finished and the stream is closed
Signed-off-by:
Bjoern Schiessle <bjoern@schiessle.org>
Showing
- apps/encryption/lib/Crypto/Encryption.php 0 additions, 1 deletionapps/encryption/lib/Crypto/Encryption.php
- lib/private/Files/Stream/Encryption.php 17 additions, 2 deletionslib/private/Files/Stream/Encryption.php
- tests/lib/Files/Stream/EncryptionTest.php 11 additions, 0 deletionstests/lib/Files/Stream/EncryptionTest.php
Loading
Please register or sign in to comment