Fixed typo which breaks no-encryption mode.