mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-09 15:46:42 +00:00
Hotfix - change var for const
This commit is contained in:
parent
6f39abb47b
commit
9eb574b6c4
@ -195,7 +195,7 @@ PublicKey.prototype.getFingerprint = function () {
|
|||||||
* @return {Promise<Object} An object of the form {algorithm: String, bits:int, curve:String}
|
* @return {Promise<Object} An object of the form {algorithm: String, bits:int, curve:String}
|
||||||
*/
|
*/
|
||||||
PublicKey.prototype.getAlgorithmInfo = function () {
|
PublicKey.prototype.getAlgorithmInfo = function () {
|
||||||
var result = {};
|
const result = {};
|
||||||
result.algorithm = this.algorithm;
|
result.algorithm = this.algorithm;
|
||||||
if (this.params[0] instanceof type_mpi) {
|
if (this.params[0] instanceof type_mpi) {
|
||||||
result.bits = this.params[0].byteLength() * 8;
|
result.bits = this.params[0].byteLength() * 8;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user