diff --git a/CHANGELOG b/CHANGELOG index 30097a096..c0e80788c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ #Nmap Changelog ($Id$); -*-text-*- +o [NSE][GH#3307] ASN.1 sequence encoding in the iec61850mms library was broken. + [RyugaXhypeR] + o [NSE] The ssh2 library was conflating host key (signature) algorithms with host key types. One of the effects was that scripts, such as ssh-hostkey, were not detecting RSA keys unless the target supported legacy ssh-rsa host diff --git a/nselib/iec61850mms.lua b/nselib/iec61850mms.lua index e620e4192..dba9dbc6f 100755 --- a/nselib/iec61850mms.lua +++ b/nselib/iec61850mms.lua @@ -1111,7 +1111,7 @@ MMSEncoder = { return str end, - encodeSeq = asn1.ASN1Encoder.encodeSeq, + encodeSeq = function (...) return asn1.ASN1Encoder:encodeSeq(...) end, } MMSQueries = {