mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-18 01:03:25 +00:00
Fixed the condition to show 'chunks are encrypted' messages
'File/Metadata chunks are encrypted' were always shown even if the storage wasn't encrypted.
This commit is contained in:
@@ -172,11 +172,11 @@ func (config *Config) Print() {
|
|||||||
LOG_TRACE("CONFIG_INFO", "Hash key: %x", config.HashKey)
|
LOG_TRACE("CONFIG_INFO", "Hash key: %x", config.HashKey)
|
||||||
LOG_TRACE("CONFIG_INFO", "ID key: %x", config.IDKey)
|
LOG_TRACE("CONFIG_INFO", "ID key: %x", config.IDKey)
|
||||||
|
|
||||||
if len(config.ChunkKey) >= 0 {
|
if len(config.ChunkKey) > 0 {
|
||||||
LOG_TRACE("CONFIG_INFO", "File chunks are encrypted")
|
LOG_TRACE("CONFIG_INFO", "File chunks are encrypted")
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(config.FileKey) >= 0 {
|
if len(config.FileKey) > 0 {
|
||||||
LOG_TRACE("CONFIG_INFO", "Metadata chunks are encrypted")
|
LOG_TRACE("CONFIG_INFO", "Metadata chunks are encrypted")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user