diff --git a/lib/asn1/base/buffer.js b/lib/asn1/base/buffer.js index c8412b3..cb8a9f1 100644 --- a/lib/asn1/base/buffer.js +++ b/lib/asn1/base/buffer.js @@ -40,7 +40,7 @@ DecoderBuffer.prototype.isEmpty = function isEmpty() { DecoderBuffer.prototype.readUInt8 = function readUInt8(fail) { if (this.offset + 1 <= this.length) - return this.base.readUInt8(this.offset++, true); + return this.base.readUInt8(this.offset++); else return this.error(fail || 'DecoderBuffer overrun'); };