diff options
Diffstat (limited to 'src/tweetnacl.c')
| -rw-r--r-- | src/tweetnacl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tweetnacl.c b/src/tweetnacl.c index ad5dae5..9f66546 100644 --- a/src/tweetnacl.c +++ b/src/tweetnacl.c | |||
| @@ -3,8 +3,6 @@ we're using the one from PHP.*/ | |||
| 3 | #include "php_snuffleupagus.h" | 3 | #include "php_snuffleupagus.h" |
| 4 | #include "ext/standard/php_random.h" | 4 | #include "ext/standard/php_random.h" |
| 5 | 5 | ||
| 6 | ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) | ||
| 7 | |||
| 8 | void randombytes(unsigned char *x, unsigned long long xlen) { | 6 | void randombytes(unsigned char *x, unsigned long long xlen) { |
| 9 | assert(SIZE_MAX >= ULLONG_MAX); // max(size_t) > max(ull) ? | 7 | assert(SIZE_MAX >= ULLONG_MAX); // max(size_t) > max(ull) ? |
| 10 | php_random_bytes(x, xlen, 1); | 8 | php_random_bytes(x, xlen, 1); |
