Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 69b8279d4bb4
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: e781832ea1b4
Choose a head ref
  • 6 commits
  • 320 files changed
  • 3 contributors

Commits on Mar 23, 2014

  1. build: fix g++ 4.8 build, disable -Werror

    Turn off -Werror when building V8, it hits -Werror=unused-local-typedefs
    with g++ 4.8.  The warning itself is harmless so don't abort the build.
    
    This was originally implemented in commit d2ab314 back in 2011 but the
    build process has gone through a few iterations since then, that change
    no longer works.
    bnoordhuis authored and tjfontaine committed Mar 23, 2014
    Copy the full SHA
    7989f42 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2014

  1. npm: upgrade to 1.4.6

    * Documentation upgrades
    * Fix glob bug which prevents proper README publishing
    * node-gyp upgrade to 0.13
    * Documentation updates
    * Add --save-exact to save an exact dep (instead of a range)
    * alias 't' to 'test'
    isaacs committed Mar 26, 2014
    Copy the full SHA
    bd547d6 View commit details
    Browse the repository at this point in the history
  2. src: seed V8's random number generator at startup

    The default entropy source is /dev/urandom on UNIX platforms, which is
    okay but we can do better by seeding it from OpenSSL's entropy pool.
    
    On Windows we can certainly do better; on that platform, V8 seeds the
    random number generator using only the current system time.
    
    Fixes #6250.
    
    NB: This is a back-port of commit 7ac2391 from the master branch that
    for some reason never got back-ported to the v0.10 branch.
    
    The default on UNIX platforms in v0.10 is different and arguably worse
    than it is with master: if no entropy source is provided, V8 3.14 calls
    srandom() with a xor of the PID and the current time in microseconds.
    
    That means that on systems with a coarse system clock, the initial
    state of the PRNG may be easily guessable.
    
    The situation on Windows is even more dire because there the PRNG is
    seeded with only the current time... in milliseconds.
    bnoordhuis authored and indutny committed Mar 26, 2014
    Copy the full SHA
    70f198d View commit details
    Browse the repository at this point in the history
  3. src: ensure that openssl's PRNG is fully seeded

    Ensure that OpenSSL has enough entropy (at least 256 bits) for its PRNG.
    
    The entropy pool starts out empty and needs to fill up before the PRNG
    can be used securely.
    
    OpenSSL normally fills the pool automatically but not when someone
    starts generating random numbers before the pool is full: in that case
    OpenSSL keeps lowering the entropy estimate to thwart attackers trying
    to guess the initial state of the PRNG.
    
    When that happens, we wait until enough entropy is available, something
    that normally should never take longer than a few milliseconds.
    
    Fixes #7338.
    bnoordhuis authored and indutny committed Mar 26, 2014
    Copy the full SHA
    f68a116 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/v0.10'

    Conflicts:
    	src/node.cc
    	src/node_crypto.cc
    	src/node_crypto.h
    indutny committed Mar 26, 2014
    Copy the full SHA
    a030c7b View commit details
    Browse the repository at this point in the history
  5. crypto: fix lint

    indutny committed Mar 26, 2014
    Copy the full SHA
    e781832 View commit details
    Browse the repository at this point in the history