correct format hint

This commit is contained in:
AJ ONeal 2018-11-24 18:36:32 -07:00
parent c17f0338e1
commit bb272a9689
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ RSA.generate = function (opts) {
} }
return { return {
private: RSA.importSync({ pem: keypair.private, format: priv.format }) private: RSA.importSync({ pem: keypair.private, format: priv.type })
, public: RSA.importSync({ pem: keypair.public, format: pub.format, public: true }) , public: RSA.importSync({ pem: keypair.public, format: pub.type, public: true })
}; };
}); });
}); });