forked from root/acme.js
v1.7.5: bugfix unchecked property thanks to #19
This commit is contained in:
parent
ea97f537ef
commit
3f4e5adeef
2
node.js
2
node.js
|
@ -698,7 +698,7 @@ ACME._getCertificate = function (me, options) {
|
||||||
|
|
||||||
// It's just fine if there's no account, we'll go get the key id we need via the public key
|
// It's just fine if there's no account, we'll go get the key id we need via the public key
|
||||||
if (!me._kid) {
|
if (!me._kid) {
|
||||||
if (options.accountKid || options.account.kid) {
|
if (options.accountKid || options.account && options.account.kid) {
|
||||||
me._kid = options.accountKid || options.account.kid;
|
me._kid = options.accountKid || options.account.kid;
|
||||||
} else {
|
} else {
|
||||||
//return Promise.reject(new Error("must include KeyID"));
|
//return Promise.reject(new Error("must include KeyID"));
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "acme-v2",
|
"name": "acme-v2",
|
||||||
"version": "1.7.4",
|
"version": "1.7.5",
|
||||||
"description": "Free SSL. A framework for building Let's Encrypt v2 clients, and other ACME v2 (draft 11) clients. Successor to le-acme-core.js",
|
"description": "Free SSL. A framework for building Let's Encrypt v2 clients, and other ACME v2 (draft 11) clients. Successor to le-acme-core.js",
|
||||||
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
|
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
|
||||||
"main": "node.js",
|
"main": "node.js",
|
||||||
|
|
Loading…
Reference in New Issue