diff options
Diffstat (limited to 'src/tweetnacl.c')
| -rw-r--r-- | src/tweetnacl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tweetnacl.c b/src/tweetnacl.c index 746cabc..e6d6ed2 100644 --- a/src/tweetnacl.c +++ b/src/tweetnacl.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* Since TweetNacl doesn't come with a `randombytes` implementation, | 1 | /* Since TweetNacl doesn't come with a `randombytes` implementation, |
| 2 | we're using the one from PHP.*/ | 2 | we're using the one from PHP.*/ |
| 3 | #include "php_snuffleupagus.h" | 3 | #include "php_snuffleupagus.h" |
| 4 | #include "ext/standard/php_random.h" | ||
| 5 | 4 | ||
| 6 | static void randombytes(unsigned char *x, unsigned long long xlen) { | 5 | static void randombytes(unsigned char *x, unsigned long long xlen) { |
| 7 | assert(SIZE_MAX >= ULLONG_MAX); // max(size_t) > max(ull) ? | 6 | assert(SIZE_MAX >= ULLONG_MAX); // max(size_t) > max(ull) ? |
