From a7495ac6c7ef32cc0700eb5a0811daeb1c591656 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 17 Oct 2018 19:58:32 +0000 Subject: [PATCH] Fix an error when OpenSSL not present. --- nselib/rand.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nselib/rand.lua b/nselib/rand.lua index 552121d1c..2591807f5 100644 --- a/nselib/rand.lua +++ b/nselib/rand.lua @@ -8,6 +8,7 @@ -- @class module -- @name rand +local require = require local have_openssl, openssl = pcall(require, "openssl") local math = require "math"