fixing the clobbering of a variable
This commit is contained in:
parent
7fde3f4384
commit
b296506b6e
1 changed files with 4 additions and 4 deletions
|
@ -180,13 +180,13 @@ def main(args)
|
||||||
end
|
end
|
||||||
if options[:certificate]
|
if options[:certificate]
|
||||||
data = value_from_oid(options[:certificate], '1.3.6.1.4.1.2312.9.7')
|
data = value_from_oid(options[:certificate], '1.3.6.1.4.1.2312.9.7')
|
||||||
pt = Trie::PathTree.new(data.getOctets)
|
this_pt = Trie::PathTree.new(data.getOctets)
|
||||||
_puts(options, pt.toList().join("\n"))
|
_puts(options, this_pt.toList().join("\n"))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if options[:binary_file]
|
if options[:binary_file]
|
||||||
pt = Trie::PathTree.new(File.read(options[:binary_file]).to_java_bytes)
|
this_pt = Trie::PathTree.new(File.read(options[:binary_file]).to_java_bytes)
|
||||||
_puts(options, pt.toList().join("\n"))
|
_puts(options, this_pt.toList().join("\n"))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if options[:payload]
|
if options[:payload]
|
||||||
|
|
Loading…
Reference in a new issue