Skip to content
Snippets Groups Projects
Closed (moved) crypto_rand_int() should be returning an unsigned int
  • View options
  • crypto_rand_int() should be returning an unsigned int

  • View options
  • Closed (moved) Issue created by George Kadianakis

    crypto_rand_int() is returning an int, when it should be returning an unsigned int.

    Currently, if max is larger than INT_MAX it might return a negative number. Fortunately, it doesn't seem to be called with anything that large atm.

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading