[Pkg-javascript-commits] [node-diffie-hellman] 79/88: browser: further adherance to standard

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:19:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-diffie-hellman.

commit d763e9951228b6c75b25867662ae1f2eb536d37a
Author: Daniel Cousens <dcousens at users.noreply.github.com>
Date:   Tue Jan 12 23:57:35 2016 +1100

    browser: further adherance to standard
---
 browser.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/browser.js b/browser.js
index 7211d22..fef8e7f 100644
--- a/browser.js
+++ b/browser.js
@@ -3,7 +3,7 @@ var primes = require('./lib/primes')
 
 var DH = require('./lib/dh')
 
-function getDiffieHellman(mod) {
+function getDiffieHellman (mod) {
   var prime = new Buffer(primes[mod].prime, 'hex')
   var gen = new Buffer(primes[mod].gen, 'hex')
 
@@ -14,7 +14,7 @@ var ENCODINGS = {
   'binary': true, 'hex': true, 'base64': true
 }
 
-function createDiffieHellman(prime, enc, generator, genc) {
+function createDiffieHellman (prime, enc, generator, genc) {
   if (Buffer.isBuffer(enc) || ENCODINGS[enc] === undefined) {
     return createDiffieHellman(prime, 'binary', enc, generator)
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-diffie-hellman.git



More information about the Pkg-javascript-commits mailing list