mirror of
https://github.com/nmap/nmap.git
synced 2026-06-24 10:12:22 +00:00
Add line breaks to the code example in openssl.luadoc.
This commit is contained in:
parent
eacb951209
commit
976a27755d
1 changed files with 7 additions and 7 deletions
|
|
@ -7,13 +7,13 @@
|
|||
-- OpenSSL support was enabled at compile time. Scripts using the module should
|
||||
-- be made to fail gracefully using code like the following:
|
||||
-- \n\n
|
||||
-- if not pcall(require, "openssl") then
|
||||
-- action = function(host, port)
|
||||
-- stdnse.print_debug(2, "Skipping \"%s\" because OpenSSL is missing.", id)
|
||||
-- end
|
||||
-- end
|
||||
-- action = action or function(host, port)
|
||||
-- ...
|
||||
-- if not pcall(require, "openssl") then\n
|
||||
-- action = function(host, port)\n
|
||||
-- stdnse.print_debug(2, "Skipping \"%s\" because OpenSSL is missing.", id)\n
|
||||
-- end\n
|
||||
-- end\n
|
||||
-- action = action or function(host, port)\n
|
||||
-- ...\n
|
||||
-- end
|
||||
-- @author Sven Klemm <sven@c3d2.de>
|
||||
-- @copyright See nmaps COPYING for licence
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue