Skip to content
Snippets Groups Projects
Commit 7e8240c8 authored by deuce's avatar deuce
Browse files

Increase size of temporary buffer to allow errors activating session.

Previously, the error message was 32 bytes, plus the null... which doesn't
fit into a 32-byte buffer very well.
parent 2075dc40
Branches
Tags
No related merge requests found
......@@ -19,10 +19,10 @@ static SOCKET sock;
CRYPT_SESSION ssh_session;
int ssh_active=FALSE;
static void cryptlib_error_message(int status, char * msg)
static void cryptlib_error_message(int status, const char * msg)
{
char str[32];
char str2[32];
char str[64];
char str2[64];
char *errmsg;
int err_len;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment