mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Crank up the max input size; use stddef.h instead of stdlib.h for size_t
This commit is contained in:
+2
-2
@@ -4,9 +4,9 @@
|
||||
#ifndef DEMO_UTILS_H
|
||||
#define DEMO_UTILS_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#define MAX_INPUT_SIZE 128 /* size of all input buffers in the demo */
|
||||
#define MAX_INPUT_SIZE 4096 /* max size of all input buffers in the demo */
|
||||
|
||||
void print_hex(const void *bin, const size_t bin_len);
|
||||
size_t prompt_input(char *prompt, char *input, const size_t max_input_len);
|
||||
|
||||
Reference in New Issue
Block a user