}
#define IS_NEWLINE(x) ((x[0] == '\n') || (x[0] == '\r'))
+#define MAX_INPUT_SIZE 512
void
read_crt_set(gnutls_x509_crt_t crt, const char *input_str, const char *oid)
{
- char input[128];
+ char input[MAX_INPUT_SIZE];
int ret;
fputs(input_str, stderr);
void
read_crq_set(gnutls_x509_crq_t crq, const char *input_str, const char *oid)
{
- char input[128];
+ char input[MAX_INPUT_SIZE];
int ret;
fputs(input_str, stderr);
{
char *endptr;
int64_t l;
- static char input[128];
+ static char input[MAX_INPUT_SIZE];
fprintf(stderr, input_str, def);
if (fgets(input, sizeof(input), stdin) == NULL)
const char *read_str(const char *input_str)
{
- static char input[128];
+ static char input[MAX_INPUT_SIZE];
int len;
fputs(input_str, stderr);
*/
int read_yesno(const char *input_str, int def)
{
- char input[128];
+ char input[MAX_INPUT_SIZE];
restart:
fputs(input_str, stderr);