Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
crypto: change function name
Change the function name of generatePublicKey to be 
generatePublicKey instead of generateKeys.
  • Loading branch information
mbullington authored and Trott committed Dec 2, 2015
commit 15df59976a060b05b32177cdbb70cce2103148bb
2 changes: 1 addition & 1 deletion lib/crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ ECDH.prototype.generateKeys = function generateKeys(encoding, format) {
return this.getPublicKey(encoding, format);
};

ECDH.prototype.generatePublicKey = function generateKeys(encoding, format) {
ECDH.prototype.generatePublicKey = function generatePublicKey(encoding, format) {
this._handle.generatePublicKey();

return this.getPublicKey(encoding, format);
Expand Down