Files
node/src
Ben Noordhuis 335f20896a crypto: allow negative numbers in setOptions()
OR'ing together two large values, like `SSL_OP_ALL | SSL_OP_NO_TICKET`,
produces a negative number. To wit:

  assert((0x80000000 | 0x4000) === -0x7fffc000); // true
  assert((0x80000000 | 0x4000) ===  0x80004000); // false!

It's easy to work around by doing a logical shift, like this:

  assert((0x80000000 | 0x4000) >>> 0 ===  0x80004000); // true

But that's not very intuitive. Let's be more lenient in what we accept.
2012-11-24 00:10:25 +01:00
..
2012-09-14 02:37:51 +02:00
2012-08-28 15:04:55 +02:00
2012-11-17 00:52:58 +01:00
2012-11-01 01:25:22 +01:00
2012-11-08 12:31:45 -08:00
2012-03-10 00:14:14 +01:00
2011-03-14 17:37:05 -07:00
2012-10-24 10:10:57 -07:00
2012-02-03 14:07:32 +00:00
2012-05-22 16:14:24 +02:00