Skip to content

Commit

Permalink
10.8.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Apr 26, 2023
1 parent 9b1a0a7 commit daea5eb
Show file tree
Hide file tree
Showing 10 changed files with 1,839 additions and 1,353 deletions.
2 changes: 1 addition & 1 deletion api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 10.8.4 x509 2.1.4 (2023-Apr-26)</dd>
<dd>jsrsasign 10.8.6 x509 2.1.6 (2023-Apr-26)</dd>



Expand Down
2,666 changes: 1,334 additions & 1,332 deletions api/symbols/src/x509-1.1.js.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions jsrsasign-all-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions jsrsasign-jwths-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions jsrsasign-latest-all-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions jsrsasign-rsa-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

241 changes: 241 additions & 0 deletions lib/jsrsasign-10.8.5-all-min.js

Large diffs are not rendered by default.

241 changes: 241 additions & 0 deletions lib/jsrsasign-10.8.6-all-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion min/x509-1.1.min.js

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions src/x509-1.1.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* x509-2.1.4.js (c) 2012-2023 Kenji Urushima | kjur.github.io/jsrsasign/license
/* x509-2.1.6.js (c) 2012-2023 Kenji Urushima | kjur.github.io/jsrsasign/license
*/
/*
* x509.js - X509 class to read subject public key from certificate.
Expand All @@ -16,7 +16,7 @@
* @fileOverview
* @name x509-1.1.js
* @author Kenji Urushima kenji.urushima@gmail.com
* @version jsrsasign 10.8.4 x509 2.1.4 (2023-Apr-26)
* @version jsrsasign 10.8.6 x509 2.1.6 (2023-Apr-26)
* @since jsrsasign 1.x.x
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
*/
Expand Down Expand Up @@ -2599,11 +2599,13 @@ function X509(params) {
if (critical) result.critical = true;
try {
var pASN1 = _ASN1HEX_parse(hExtV);
var aValue = [];
for (var i = 0; i < pASN1.seq.length; i++) {
var aASN1Attribute = pASN1.seq[i];
var attrType = aryval(aASN1Attribute, "0.oid");
var attrValue = aryval(aASN1Attribute, "1.set");
return { attr: attrType, array: attrValue };
var attrType = aryval(aASN1Attribute, "seq.0.oid");
var attrValue = aryval(aASN1Attribute, "seq.1.set");
if (attrType == undefined || attrValue == undefined) throw "error";
aValue.push({ attr: attrType, array: attrValue });
}
result.array = aValue;
return result;
Expand Down

0 comments on commit daea5eb

Please sign in to comment.