[Pkg-javascript-commits] [node-asn1.js] 138/202: der: define `result` in decodeObjid

Bastien Roucariès rouca at moszumanska.debian.org
Thu Apr 20 19:19:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-asn1.js.

commit 82301c823b87f2db44e91e647610d799d803da15
Author: Evan Sharp <dumbdrum at gmail.com>
Date:   Mon Jan 4 21:39:55 2016 -0500

    der: define `result` in decodeObjid
    
    Fix: #56
---
 lib/asn1/decoders/der.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/asn1/decoders/der.js b/lib/asn1/decoders/der.js
index 9c420ef..6b0ed18 100644
--- a/lib/asn1/decoders/der.js
+++ b/lib/asn1/decoders/der.js
@@ -165,6 +165,7 @@ DERNode.prototype._decodeStr = function decodeStr(buffer, tag) {
 };
 
 DERNode.prototype._decodeObjid = function decodeObjid(buffer, values, relative) {
+  var result;
   var identifiers = [];
   var ident = 0;
   while (!buffer.isEmpty()) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-asn1.js.git



More information about the Pkg-javascript-commits mailing list