News for hackers. Stuff that matters.
Re:TinySSH is a small SSH server using NaCl, TweetNaCl by awda on Sunday May 11, 2014 @12:22PM (#7729046)
This code is attempting to be portable to C89, or why not just use C99's stdint.h? I don't believe your statement "C89 says the same thing," do you have a source to point to?

Do you have the section number in the latest freely available C99 working draft? The "Types" section (which 6.something in the draft) simply says what I said earlier about scalar rank. And 5.4.4.2.1 doesn't seem to exist in the draft.

Re:TinySSH is a small SSH server using NaCl, TweetNaCl by pbsd on Sunday May 11, 2014 @12:32PM (#7729079)
Sorry, I mistyped the section number. Updated the parent comment with corrections and links.

I assume the intent of tweetnacl is to be C89-compatible, but due to the long long (and char, although that one's pretty pedantic) issue there's little guarantee of success.

Re:TinySSH is a small SSH server using NaCl, TweetNaCl by awda on Sunday May 11, 2014 @01:35PM (#7729256)
Huh, learned something new today, thanks. (For anyone following along, the C89 doc mentions the limits.h guidelines as well, search for "UINT_MAX".)