forked from hummypkg/webif
Merge pull request 'df-decryptq-testkey-patchv2' (#43) from df/webif:df-decryptq-testkey-patch into master
Reviewed-on: hummypkg/webif#43
This commit is contained in:
commit
6e3b5114be
@ -862,6 +862,7 @@ ts method getkey {mode} {
|
||||
if {[string length $key] == 32} {
|
||||
ladd keys $key
|
||||
}
|
||||
} on error {} {
|
||||
} finally {
|
||||
catch {$fd close}
|
||||
}
|
||||
@ -878,6 +879,7 @@ ts method getkey {mode} {
|
||||
foreach key [split [$fd read -nonewline] "\n"] {
|
||||
ladd keys $key
|
||||
}
|
||||
} on error {} {
|
||||
} finally {
|
||||
catch {$fd close}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user