bug3306 302 B

12345
  1. o Minor bugfixes:
  2. - Make our crypto_rand_int() function check the value of its input
  3. correctly. Previously, it accepted values up to UINT_MAX, but
  4. could return a negative number if given a value above INT_MAX+1.
  5. Found by George Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.