fixing the clobbering of a variable

This commit is contained in:
Vincent Batts 2012-12-07 09:45:50 -05:00
parent 7fde3f4384
commit b296506b6e
1 changed files with 4 additions and 4 deletions

View File

@ -180,13 +180,13 @@ def main(args)
end
if options[:certificate]
data = value_from_oid(options[:certificate], '1.3.6.1.4.1.2312.9.7')
pt = Trie::PathTree.new(data.getOctets)
_puts(options, pt.toList().join("\n"))
this_pt = Trie::PathTree.new(data.getOctets)
_puts(options, this_pt.toList().join("\n"))
return
end
if options[:binary_file]
pt = Trie::PathTree.new(File.read(options[:binary_file]).to_java_bytes)
_puts(options, pt.toList().join("\n"))
this_pt = Trie::PathTree.new(File.read(options[:binary_file]).to_java_bytes)
_puts(options, this_pt.toList().join("\n"))
return
end
if options[:payload]