summaryrefslogtreecommitdiff
path: root/frontend/fe_fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/fe_fs.go')
-rw-r--r--frontend/fe_fs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/fe_fs.go b/frontend/fe_fs.go
index 012d7f0..4d49194 100644
--- a/frontend/fe_fs.go
+++ b/frontend/fe_fs.go
@@ -27,14 +27,14 @@ type nullTracer struct {}
func (nullTracer) Trace(op cluefs.FsOperTracer) {}
-func NewFS(key [16]byte, backing string) *FS {
+func NewFS(key [16]byte, backing string, useOpenssl bool) *FS {
var nt nullTracer
clfs, err := cluefs.NewClueFS(backing, nt)
if err != nil {
panic(err)
}
return &FS {
- CryptFS: cryptfs.NewCryptFS(key),
+ CryptFS: cryptfs.NewCryptFS(key, useOpenssl),
ClueFS: clfs,
backing: backing,
}