- Oct 24, 2012
-
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
This is a flag to make it easier for users to upgrade through the breaking crypto change, and easier for us to switch it back if it's a problem. Explicitly set default encoding to 'buffer' in other tests, in case it ever changes back.
-
isaacs authored
-
isaacs authored
-
isaacs authored
crypto: Hash and Hmac default to buffers crypto: Move Cipher encoding logic to JS crypto: Move Cipheriv encoding logic to JS crypto: Move Decipher encoding logic to JS crypto: Move Decipheriv into JS, default to buffers crypto: Move Sign class to JS crypto: Better encoding handling in Hash.update crypto: Move Verify class to JS crypto: Move DiffieHellman to JS, default to buffers crypto: Move DiffieHellmanGroup to JS, default to buffers Also, create a test for this feature
-
- Oct 23, 2012
-
-
Ben Noordhuis authored
Note that you need to start node with --gdbjit for it to become effective.
-
mstarzinger@chromium.org authored
R=ulan@chromium.org BUG=v8:1804 Review URL: https://codereview.chromium.org/11022007 This is a back-port of upstream commits 12679, 12686 and 12738.
-
isaacs authored
-
Ben Noordhuis authored
Ensure that uint8 values >= 128 are correctly promoted to int8 <= -1.
-
Aaron Jacobs authored
The C standard allows plain `char` to be unsigned. The build environment at Google trips this issue.
-
yangguo@chromium.org authored
`timezone` variable contains the difference, in seconds, between UTC and local standard time (see `man 3 localtime` on Solaris). Call to `tzset` is required to apply contents of `TZ` variable to `timezone` variable. BUG=v8:2064 Review URL: https://chromiumcodereview.appspot.com/10967066 Patch from Maciej Małecki <me@mmalecki.com>. This is a back-port of upstream commit r12802.
-
- Oct 22, 2012
-
-
Ben Noordhuis authored
Fix a use-after-free bug and a memory leak in the error path of DiffieHellman::ComputeSecret(). * the BIGNUM key was used after being freed with BN_free(). * the output buffer was not freed
-
Ben Noordhuis authored
Passing a bad key to DiffieHellman::ComputeSecret() made it zero the byte before the heap allocated buffer due to an erroneous size calculation.
-
Ben Noordhuis authored
Exercises the error path in DiffieHellman::ComputeSecret() in src/node_crypto.cc
-
Ben Noordhuis authored
Conflicts: deps/openssl/openssl.gyp
-
- Oct 20, 2012
-
-
Ben Noordhuis authored
-
- Oct 18, 2012
-
-
Bert Belder authored
-
- Oct 17, 2012
-
-
isaacs authored
-
- Oct 16, 2012
-
-
Nathan Rajlich authored
Previously, the "global" mode of REPLs was broken when created after another non-global REPL (they would end up sharing the same context). Now that "global" mode is fixed for that case (b1e78cef), this test case gets its global scope modified with "module" and other REPL-specific properties, so disable the global check.
-
Ben Noordhuis authored
Fixes a V8 build error caused by missing arm_fpu and arm_neon settings. This is a back-port of commit bbf6b4ec from the master branch. Fixes #4142.
-
Ben Noordhuis authored
This reverts commit 1c88c3b3. It breaks the "read a password from stdin" functionality that OpenSSL provides. Fixes #4059, #4143. Conflicts: deps/openssl/openssl.gyp
-
- Oct 14, 2012
-
-
Jan Lehnardt authored
-
Nathan Rajlich authored
Conflicts: AUTHORS ChangeLog deps/uv/test/runner-win.c doc/api/process.markdown lib/repl.js src/node_crypto.cc src/node_version.h
-
Dean McNamee authored
Uint32Value() on undefined is equal to 0, no need to special case it.
-
Dean McNamee authored
Instead of duplicating V8's logic (including clamping), just simply call into V8's Get() and Set() methods, which handles all conversions and typing.
-
- Oct 13, 2012
-
-
Ben Noordhuis authored
* The 'close' event doesn't emit an error object. * It's possible for a 'close' event to come after an 'end' event, contrary to what the documentation said. Fixes #4116.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Returns a list of, unsurprisingly, the available ciphers.
-
Nathan Rajlich authored
Before there was this weird module-scoped "context" variable which seemingly shared the "context" of subsequent REPL instances, unless ".clear" was invoked inside the REPL. To be proper, we need to ensure that each REPL gets its own "context" object. I literally don't know why this "sharing" behavior was in place before, but it was just plain wrong.
-
Ben Noordhuis authored
-
Max Ogden authored
-
isaacs authored
-
- Oct 12, 2012