Commit 6e87bf69 authored by deuce's avatar deuce
Browse files

Pedanticaly, rsp may not be three characters long (yes, it always will),

so support that.
parent 796e1a47
......@@ -570,7 +570,7 @@ static int sockgetrsp_opt(SOCKET socket, CRYPT_SESSION sess, char* rsp, char *op
}
break;
}
mopt[3] = ' ';
mopt[strlen(rsp)] = ' ';
if (strncmp(buf, mopt, moptlen) == 0)
ret = 1;
free(mopt);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment