bool send_metakey(connection_t *c)
{
- char buffer[MAX_STRING_SIZE];
+ char *buffer;
int len;
bool x;
/* Allocate buffers for the meta key */
+ buffer = alloca(2 * len + 1);
+
if(!c->outkey)
c->outkey = xmalloc(len);
bool send_challenge(connection_t *c)
{
- char buffer[MAX_STRING_SIZE];
+ char *buffer;
int len;
cp();
/* Allocate buffers for the challenge */
+ buffer = alloca(2 * len + 1);
+
if(!c->hischallenge)
c->hischallenge = xmalloc(len);