summaryrefslogtreecommitdiff
path: root/src/tweetnacl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tweetnacl.c')
-rw-r--r--src/tweetnacl.c1
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,
2we're using the one from PHP.*/ 2we'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
6static void randombytes(unsigned char *x, unsigned long long xlen) { 5static 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) ?