Nmap Development mailing list archives

Re: [NSE][PATCH] OpenSSL bindings for NSE


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Wed, 3 Sep 2008 16:22:58 -0600

On Wed, Sep 3, 2008 at 4:07 PM, David Fifield <david () bamsoftware com> wrote:
Just using nmap.have_ssl in every script that uses the openssl modules
sounds okay. I worry a little that script authors will forget to do that
and we will release a broken script.

I'm of the opposite opinion. Allowing require to error because of a
missing dependency is probably the best solution for this. I am
finishing a patch that will issue an error warning that informs the
user the script could not be loaded (compilation, run time errors, and
missing required fields), as well as the actual error if debugging is
on.

Cheers,

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: