sshpk
Advanced tools
Comparing version 1.8.2 to 1.8.3
@@ -159,6 +159,3 @@ // Copyright 2015 Joyent, Inc. | ||
try { | ||
nm = this.type.toUpperCase() + '-'; | ||
if (this.type === 'ecdsa') | ||
nm = 'ecdsa-with-'; | ||
nm += hashAlgo.toUpperCase(); | ||
nm = hashAlgo.toUpperCase(); | ||
v = crypto.createVerify(nm); | ||
@@ -165,0 +162,0 @@ } catch (e) { |
@@ -151,6 +151,3 @@ // Copyright 2015 Joyent, Inc. | ||
try { | ||
nm = this.type.toUpperCase() + '-'; | ||
if (this.type === 'ecdsa') | ||
nm = 'ecdsa-with-'; | ||
nm += hashAlgo.toUpperCase(); | ||
nm = hashAlgo.toUpperCase(); | ||
v = crypto.createSign(nm); | ||
@@ -157,0 +154,0 @@ } catch (e) { |
{ | ||
"name": "sshpk", | ||
"version": "1.8.2", | ||
"version": "1.8.3", | ||
"description": "A library for finding and using SSH public keys", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
123816
2904