mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed bug in return values for openssl pcall in libraries mssql and smbauth
This commit is contained in:
parent
275d739cae
commit
7e85545ea3
2 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ _ENV = stdnse.module("mssql", stdnse.seeall)
|
|||
--
|
||||
-- (Patrik Karlsson, Chris Woodbury)
|
||||
|
||||
local openssl, HAVE_SSL = pcall(require, "openssl")
|
||||
local HAVE_SSL, openssl = pcall(require, "openssl")
|
||||
|
||||
do
|
||||
namedpipes = smb.namedpipes
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ local string = require "string"
|
|||
local table = require "table"
|
||||
_ENV = stdnse.module("smbauth", stdnse.seeall)
|
||||
|
||||
local openssl, have_ssl = pcall(require, "openssl")
|
||||
local have_ssl, openssl = pcall(require, "openssl")
|
||||
|
||||
-- Constants
|
||||
local NTLMSSP_NEGOTIATE = 0x00000001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue