Browse Source

v1.7.5: bugfix unchecked property thanks to #19

pull/25/head v1.7.5
AJ ONeal 5 years ago
parent
commit
de9afbbab9
  1. 2
      node.js
  2. 2
      package.json

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
if (!me._kid) {
if (options.accountKid || options.account.kid) {
if (options.accountKid || options.account && options.account.kid) {
me._kid = options.accountKid || options.account.kid;
} else {
//return Promise.reject(new Error("must include KeyID"));

2
package.json

@ -1,6 +1,6 @@
{
"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",
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
"main": "node.js",

Loading…
Cancel
Save